Grouping using custom logic [LUCENE-7074]
- Dominant language
- Java
- Stars
- 3.6k
- Forks
- 1.4k
- Avg merge
- 2d 11h
- Merged PRs (30d)
- 88
Description
My company would like to enable customized grouping in Lucene/Solr. Our need is to allow grouping by hamming distance between two text field values. We started implementing this idea in Lucene through editing several
classes (Grouping, AbstractTermFirstPassGroupingCollector and AbstractTermSecondPassGroupingCollector)
so that they receive custom logic to use for grouping.
---
Migrated from [LUCENE-7074](https://issues.apache.org/jira/browse/LUCENE-7074) by Dean Gurvitz (@deansg), updated May 09 2016
Attachments: [LUCENE-7074.patch](https://apache.github.io/lucene-jira-archive/attachments/LUCENE-7074/LUCENE-7074.patch)
Contributor guide
Research direction
Start by reading Grouping, AbstractTermFirstPassGroupingCollector, and AbstractTermSecondPassGroupingCollector, then inspect the attached LUCENE-7074.patch. Clarify the intended custom grouping contract and how hamming distance between two text field values should be represented. Done means the agreed grouping behavior is implemented and covered by relevant grouping tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- search
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100