|
@Hardy Ferentschik , the error I was getting is described in HSEARCH-1929 . I couldn't create an index.
The workaround I had to implement seems kinda ugly to me: I introduced a transient method which is calling superclass's getId method only for the purpose of indexing. getId method is usually introduced in some kind of superclass of all entities so it's not cool to add search annotations there.
Meanwhile in 5.2.0.Final which uses the same lucene version but doesn't have a @Facet annotation my old code works.
|