[ 
https://issues.apache.org/jira/browse/LUCENE-7863?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16054727#comment-16054727
 ] 

David Smiley commented on LUCENE-7863:
--------------------------------------

bq. I suppose if it repeats postings, it also repeats positions, offsets, 
payloads. Doesn't it?

Nope!  Configure it for IndexOptions.DOCS only -- no rest of that stuff.  Then 
you could write a TermsEnum wrapper that delegates to the original field that 
has all the rest of that stuff.  For inspiration, see 
TermVectorFilteredTermsEnum in the unified highlighter.  It's not the same but 
the idea is that you blend 2 TermsEnum.

> Don't repeat postings and positions on ReverseWF, EdgeNGram, etc  
> ------------------------------------------------------------------
>
>                 Key: LUCENE-7863
>                 URL: https://issues.apache.org/jira/browse/LUCENE-7863
>             Project: Lucene - Core
>          Issue Type: Improvement
>          Components: core/index
>            Reporter: Mikhail Khludnev
>         Attachments: LUCENE-7863.hazard
>
>
> h2. Context
> \*suffix and \*infix\* searches on large indexes. 
> h2. Problem
> Obviously applying {{ReversedWildcardFilter}} doubles an index size, and I'm 
> shuddering to think about EdgeNGrams...
> h2. Proposal 
> _DRY_



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to