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

Yonik Seeley updated LUCENE-7119:
---------------------------------
    Attachment: LUCENE-7119.patch

Simple patch... adds a protected boolean that subclasses will be able to 
change.  This is really just for Solr/UnInvertedField - I doubt anyone else is 
going to be subclassing DocTermOrds.

> enable bypassing docValues check in DocTermOrds
> -----------------------------------------------
>
>                 Key: LUCENE-7119
>                 URL: https://issues.apache.org/jira/browse/LUCENE-7119
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Yonik Seeley
>         Attachments: LUCENE-7119.patch
>
>
> Currently, DocTermOrds refuses to build if doc values have been enabled for a 
> field.  While good for catching bugs, this disabled what can be legitimate 
> use cases (such as just trying out an alternate method w/o having to 
> re-configure and re-index, or even using consistently in conjunction with 
> UninvertingReader).  We should restore the ability to use this class in other 
> scenarios via adding a flag to bypass the check.



--
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