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

Robert Muir commented on LUCENE-6226:
-------------------------------------

{quote}
When requesting postings features that don't exist in the index, does it make 
sense to throw an exception of some kind from createWeight()? There's no way 
the query can run, and you want to know about it as soon as possible.
{quote}

This absolutely needs to happen. PhraseQuery does this today, if you try to run 
it against a field without positions. It should be the same way for any scorer 
that uses positions.

> Allow TermScorer to expose positions, offsets and payloads
> ----------------------------------------------------------
>
>                 Key: LUCENE-6226
>                 URL: https://issues.apache.org/jira/browse/LUCENE-6226
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Alan Woodward
>            Assignee: Alan Woodward
>             Fix For: Trunk, 5.1
>
>         Attachments: LUCENE-6226.patch, LUCENE-6226.patch, LUCENE-6226.patch, 
> LUCENE-6226.patch, LUCENE-6226.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to