I'm trying to get the default operator of a schema in solr 3.6 but unfortunately
everything is deprecated.

The API solr 3.6 says:

getQueryParserDefaultOperator() - Method in class 
org.apache.solr.schema.IndexSchema
    Deprecated.
    use getSolrQueryParser().getDefaultOperator()

getSolrQueryParser(String) - Method in class org.apache.solr.schema.IndexSchema
    Deprecated.


Now what?

How can I continue if I start with:
QueryParser.Operator operator = getReq().getSchema().

Regards
Bernd

Reply via email to