[
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: [email protected]
For additional commands, e-mail: [email protected]