lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Volodymyr Bychkoviak <vbychkov...@i-hypergrid.com>
Subject Re: Searches Contain Special Characters
Date Thu, 17 Feb 2005 15:42:10 GMT
Use \ to escape special symbols.

http://jakarta.apache.org/lucene/docs/queryparsersyntax.html

Regards,
Volodymyr Bychkoviak

Luke Shannon wrote:

>Hi All;
>
>How could I handle doing a wildcard search on the input *mario?
>
>Basically I would be interested in finding all the Documents containing
><anything>*mario<anything>
>
>Here is an example of such a Query generated:
>
>+(type:138) +(name:**mario*)
>
>How can I let Lucene know that the star closest to Mario on the left is to
>be treated as a string, not a matching character?
>
>Thanks,
>
>Luke
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: lucene-user-help@jakarta.apache.org
>
>
>  
>

---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org


Mime
View raw message