lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Høydahl (JIRA) <>
Subject [jira] [Commented] (SOLR-7041) Nuke defaultSearchField and solrQueryParser from schema
Date Tue, 27 Jan 2015 10:54:35 GMT


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 {{}} are *not* deprecated in current

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

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message