Index Map<String, Object>

Description

example class

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 specific annotation could be handy

note : ideally a MultiMap is also supported as a property can have multiple occurrences in a Lucene document

Activity

Show:

Hardy Ferentschik January 15, 2015 at 8:43 PM

Superseded by current MapBridge implementation

Emmanuel Bernard August 21, 2007 at 7:14 AM

So it turns out this is not how I want to do it because the FieldBridge are bypassed.
But the idea is good, so it my make sense to include that in the core at some stage.

Emmanuel Bernard July 11, 2007 at 6:13 PM

Nice, could you attach you test cases as well. I would like to add such a feature into the codebase

koenk July 6, 2007 at 3:57 PM
Edited

i have implemented and tested the following MapBridge that stores a Map as key values to Lucene

Out of Date

Details

Assignee

Reporter

Original estimate

Time tracking

No time logged8h remaining

Components

Priority

Created July 4, 2007 at 8:58 PM
Updated January 15, 2015 at 8:43 PM
Resolved January 15, 2015 at 8:43 PM