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

Alan Woodward commented on LUCENE-4312:
---------------------------------------

I've opened a PR with a simple implementation of this as an IntervalsSource: 
https://github.com/apache/lucene-solr/pull/772

Note that this currently works only with index-time graphs; currently the logic 
for rewriting query-time graphs relies on the fact that the only sources with a 
minimum extent of 1 are simple terms, and this new source breaks that 
assumption.  I think we can fix that with the addition of another method to 
IntervalsSource, but I'm trying to keep things as simple as possible to begin 
with.

> Index format to store position length per position
> --------------------------------------------------
>
>                 Key: LUCENE-4312
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4312
>             Project: Lucene - Core
>          Issue Type: Improvement
>          Components: core/codecs
>    Affects Versions: 6.0
>            Reporter: Gang Luo
>            Priority: Minor
>              Labels: Suggestion
>   Original Estimate: 72h
>  Remaining Estimate: 72h
>
> Mike Mccandless said:TokenStreams are actually graphs.
> Indexer ignores PositionLengthAttribute.Need change the index format (and 
> Codec APIs) to store an additional int position length per position.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to