You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Karl Wettin (JIRA)" <ji...@apache.org> on 2013/06/22 23:54:20 UTC

[jira] [Updated] (LUCENE-5073) Setting position and offset gaps in IndexableField

     [ https://issues.apache.org/jira/browse/LUCENE-5073?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Karl Wettin updated LUCENE-5073:
--------------------------------

    Attachment: LUCENE-5073.patch
    
> 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
>         Attachments: LUCENE-5073.patch
>
>
> 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org