Mailing List Archive

character filter issue
Suppose we have one field with one string abc-xxx.com

When I query for abc-xxx.com it returns 0 hits.

BUT when i query for something like xxx.com it returns results fine.

not sure what lucene is doing with the dashes. i am using the default
standardfilter, lowercasefilter, stopfilter and porterstemfilter.

Does anyone know how to get around this?

thanks.

-scott

--
To unsubscribe, e-mail: <mailto:lucene-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:lucene-user-help@jakarta.apache.org>
Re: character filter issue [ In reply to ]
Hello,

See http://jguru.com/faq/view.jsp?EID=538308
Have you tried that?

Otis

--- "Oshima, Scott" <soshima@business.com> wrote:
> Suppose we have one field with one string abc-xxx.com
>
> When I query for abc-xxx.com it returns 0 hits.
>
> BUT when i query for something like xxx.com it returns results fine.
>
> not sure what lucene is doing with the dashes. i am using the
> default
> standardfilter, lowercasefilter, stopfilter and porterstemfilter.
>
> Does anyone know how to get around this?
>
> thanks.
>
> -scott
>
> --
> To unsubscribe, e-mail:
> <mailto:lucene-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:lucene-user-help@jakarta.apache.org>
>


__________________________________________________
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/

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