You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Hoss Man (Updated) (JIRA)" <ji...@apache.org> on 2011/12/13 01:57:30 UTC

[jira] [Updated] (SOLR-2956) LukeRequestHandler: getFieldFlagsKey is out of sync with getFieldFlags

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

Hoss Man updated SOLR-2956:
---------------------------

    Attachment: SOLR-2956.patch

Yury, thanks for reporting this.

while writing a test to ensure we output all the flags properly in the key, i also made the test check the flags for the fields and discovered we were in fact overlooking them in getFieldFlags(IndexableField) as well (just not in getFieldFlags(SchemaField)


Attached patch should fix these problems, and ensure that any future inconsistencies introduced in the flags should cause a test error.

(would be good to have someone else sanity check the logic i added to getFieldFlags(IndexableField))

                
> LukeRequestHandler: getFieldFlagsKey is out of sync with getFieldFlags
> ----------------------------------------------------------------------
>
>                 Key: SOLR-2956
>                 URL: https://issues.apache.org/jira/browse/SOLR-2956
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 4.0
>            Reporter: Yury Kats
>         Attachments: SOLR-2956.patch
>
>
> "info" section returned by the LukeRequestHandler does not contain legend for OMIT_TF and OMIT_POSITIONS flags.
> These flags are checked and outputted in LukeRequestHandler#getFieldFlags, but are not outputted in LukeRequestHandler#getFieldFlagsKey.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
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