You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by gr...@gmx.de on 2003/06/13 14:10:15 UTC
How to search for ':'
Hey,
is there a way to search for phrases including the ':' character, e.g. in
file pathes.
Thanks
--
+++ GMX - Mail, Messaging & more http://www.gmx.net +++
Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage!
---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org
Re: How to search for ':'
Posted by Otis Gospodnetic <ot...@yahoo.com>.
Yes, using \ as the escape character, and an Analyzer that doesn't
discard \.
Look at TestQueryParser.java for examples.
Otis
--- grohmann.andreas@gmx.de wrote:
> Hey,
>
> is there a way to search for phrases including the ':' character,
> e.g. in
> file pathes.
>
> Thanks
>
> --
> +++ GMX - Mail, Messaging & more http://www.gmx.net +++
> Bitte l�cheln! Fotogalerie online mit GMX ohne eigene Homepage!
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: lucene-user-help@jakarta.apache.org
>
__________________________________
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org