Sanne Grinovero Is still got the same error, when I update the dependencies of the uploaded example to 4.3.0.Final.
I am switching from http://www.compass-project.org/ to hibernate-search. Compass automatically creates a special index, that catches all fields (see: http://www.compass-project.org/docs/2.2.0/reference/html/core-searchengine.html#core-searchengine-all). This is very handy. Especially, when indexing complex classes with many attributes. We used that feature with compass, to implement a simple catch-all search for inexperienced users. Now I am struggling to reimplement this with hibernate-search.
The uploaded example was my attempt, to implement an ALL-index for hibernate-search as bridge (that is, why I called it "ALL"bridge . That way, it could have been released as additional, pluggable feature, to ease the migration for compass-users. In the uploaded code I just tried to walk all @Field-annotations recursively and add them all to a single index, to implement the ALL-index. If you could point me to another approach to mimic the ALL-index from compass with hibernate-search, that would solve my problem.
|