[hibernate-issues] [Hibernate-JIRA] Created: (HSEARCH-93) index map<String, Object>

koen handekyn (JIRA) noreply at atlassian.com
Wed Jul 4 14:59:52 EDT 2007


index map<String, Object>
-------------------------

                 Key: HSEARCH-93
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-93
             Project: Hibernate Search
          Issue Type: New Feature
          Components: engine
    Affects Versions: 3.0.0.beta3
            Reporter: koen handekyn


example class

class MyDocument {

  @DocumentId
   long id;

  @Fields
  java.util.map<String, String> metaData;

}

the @Fields annotation stores each key value pair as a lucene key value.

this allows efficient searching on loosely typed object meta data (which is typically hard to map onto a relational database model but perfect for a lucene index)

note : this could probably be realized with a FieldBridge but a specifc annotaion could be handy

note : ideally a MultiMap is also supported as a property can have multiple occurances in a lucene document

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the hibernate-issues mailing list