Not sure what you mean but you can always escape query special characters
and then enclose whatever passed in double quotes. This way you'll have
it treated as phrase each time.

http://lucene.apache.org/java/2_4_0/queryparsersyntax.html
Scroll to 'escaping special characters'

+ - && || ! ( ) { } [ ] ^ " ~ * ? : \

Cheers

Anshul jain wrote:
> Hi,
>
> I need to configure solr, such that it doesn't do any fancy stuff like
> adding adding wildcard characters to normal query, check for existing
> fields, etc.
>
> I've modified lucene code for Term queries(can be multiple terms) and I need
> to process only term queries. But solr modifies queries and converts them to
> range queries. I just need that solr simply pass the query to lucene
> IndexSearcher and do nothing else in between. Is it possible?
>
> Cheers,
> Anshul
>
>   

Reply via email to