- Multiple paths per document
- Query-time analysis of the facet-field; no special requirements for indexing besides retaining separator characters in the terms used for faceting
- Optional custom sorting of tag values
- Recursive counting of references to tags at all levels of the output
This is a shell around LUCENE-2369, making it work with the Solr API. The underlying principle is to reference terms by their ordinals and create an index wide documents to tags map, augmented with a compressed representation of hierarchical levels.
|Affects Version/s||4.0 [ 12322551 ]|
|Affects Version/s||4.0-ALPHA [ 12314992 ]|
J.L. Hill made changes -
[ Any suggestions on parsing the output?
The hierarchical faceting seems to be working as described, but in my test 3-level hierarchy, converting the query xml to a php array, it comes out being 13-levels deep. Parsing is complicated by the text strings of facet field being keys in the array. I have built a basic recursive function to parse the output, but after three days of trying, I am thinking there must be a better way to my desired result, which would be like a common html <ul> tree display. For a failed example of what I am trying:
Any suggestions appreciated.