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 Michael Szediwy <mi...@syslink.ch> on 2011/10/21 10:59:36 UTC
Index forward slashes
Hi,
what can I do if I want to have "/" (slashes) as tokens to search?
Thanks & Regards
Michael
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org
Re: Index forward slashes
Posted by Erick Erickson <er...@gmail.com>.
Think about using some different analysis chains. For instance,
WhitespaceTokenizer,
perhaps followed by LowercaseFilter. You can compose pretty arbitrary
analysis chains
to suit your needs.
Best
Erick
On Fri, Oct 21, 2011 at 10:59 AM, Michael Szediwy
<mi...@syslink.ch> wrote:
> Hi,
>
> what can I do if I want to have "/" (slashes) as tokens to search?
>
> Thanks & Regards
>
> Michael
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org