SchemaField.indexOptions() should return null if SchemaField.indexed() returns 
false
------------------------------------------------------------------------------------

                 Key: SOLR-2671
                 URL: https://issues.apache.org/jira/browse/SOLR-2671
             Project: Solr
          Issue Type: Improvement
            Reporter: Hoss Man
             Fix For: 3.4, 4.0


It doesn't make sense for SchemaField.indexOptions() to return any of the 
values from the IndexOptions enum if the field is not going to be indexed at 
all.

we should return null to prevent missleading any code that calls that method

--
This message is automatically generated by JIRA.
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]

Reply via email to