Karl Wettin created LUCENE-5073:
-----------------------------------
Summary: Setting position and offset gaps in IndexableField
Key: LUCENE-5073
URL: https://issues.apache.org/jira/browse/LUCENE-5073
Project: Lucene - Core
Issue Type: Improvement
Reporter: Karl Wettin
Priority: Trivial
I often find it to be quite the hassle to go via Analyzer in order to add
offset/position gaps when adding data the the same field name.
This patch introduce IndexableField#positionIncrementGap and #offsetGap, which
at index time is added to the value gathered from the correlating
Analyzer#methods.
No tests in here, yet, but first a question: am I missing something important
in the design of Lucene here? Why is this not already a feature?
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]