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

Jan Høydahl commented on SOLR-7041:
-----------------------------------

I see the two used in a bunch of test-schemas. Also, the methods 
{{getDefaultSearchFieldName()}} and {{getQueryParserDefaultOperator()}} in 
{{IndexSchema.java}} are *not* deprecated in current trunk.

If we don't take the time to rip it all out for 5.0, I propose we
* remove the commented-out parts from example schemas
* deprecate the two methods in IndexSchema
* remove mentions in RefGuide
* start logging a WARN if schema parser finds any of these in use

Another in-between option is to fail-fast if {{luceneMatchVersion >= 5.0}} and 
log warning if less (indicates people brought their old config).

> Nuke defaultSearchField and solrQueryParser from schema
> -------------------------------------------------------
>
>                 Key: SOLR-7041
>                 URL: https://issues.apache.org/jira/browse/SOLR-7041
>             Project: Solr
>          Issue Type: Improvement
>          Components: Schema and Analysis
>            Reporter: Jan Høydahl
>             Fix For: 5.0, Trunk
>
>
> The two tags {{<defautlSearchField>}} and {{solrQueryParser}} were deprecated 
> in Solr3.6 (SOLR-2724). Time to nuke them from code and {{schema.xml}} in 5.0?



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