New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HSEARCH-809 Updating faceting API #821
Conversation
Awesome :) Could I extract and apply things like HSEARCH-1600 separately? |
I am confused, HSEARCH-1600 is already separate. The faceting code has also already been reviewed in most parts. Can we not discuss this pull request as is. |
6cfbf94
to
8db5c98
Compare
- Introducing @facet, @facets and FacetEncodingType to configure facets - Updating field metadata to keep faceting related information - Updating AnnotationMetadataProvider to use additonal faceting metadata - Making use of various DocsValue types in DocumentBuilderIndexedEntity to index facets - Updating QueryHits to use Lucene's FacetCollector - Updating Faceting DSL - Updating faceting tests to make use of @facet - Updating features.xml to export correct packages from faceting module - Removing obsolete classes (FacetCollector and FacetCounter) - Adding verification that indexed field configured for faceting is not analyzed - Updating documentation to relfect changes in faceting API
…o dynamic faceting via Lucene's API (see HSEARCH-809)
…ND' using FacetCombine
8db5c98
to
b0b43a8
Compare
I'm not understanding the Jenkins error. Documentation builds fine here.. |
You realize I pushed an update already? There was a problem with the docbook build (duplicate id) which I resolved. Did not show via asciidoctor. Just make sure to get the latest branch and take it from there. |
right, thanks. I got confused as I had checked out the latest - which worked fine - just after you pushed apparently, as Jenkins finished the build marking it "green" again ten minutes later :) |
I'd be very eager to merge this, not only because users are asking for it but also as I'd hope to use it as a trampoline to get to Lucene 5. The big question is IMO about the backwards compatibility change in a minor release - by our own rules we can't do that, although I guess it's debatable if requiring the new annotations is indeed an API change. I'd really like to say it's not and apply it, but I kinda have to admit it's because I want to, and not necessarily a fair judgement. Let's talk about it on the mailing list? A safer approach could be to start a branch 6 already.. we could make good use of that to include Lucene 5 patches and work in progress about ORM 5 as well. But it will be a long wait to actually release a 6 since we want many more breaking changes in there. Let's chat/email about it with everyone next week? |
IMO we can merge and make this a feature of 5.2. As you say, a lot of people are waiting for this, in particular since it also solved the *ToMany faceting issue we always had with the collector approach. And even though one needs to add new annotations, the API itself is pretty much unchanged. Waiting for Search 6 seems to long of a wait for this feature. +1 for merging and releasing as part of 5.2 |
What the plan on this now. IMO we should merge asap |
I'll merge this later today, need to apply some changes before this. |
Ok |
merged! |
Includes fixes for: