lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mikhail Khludnev <m...@apache.org>
Subject Re: Camel case search with Lucene
Date Thu, 04 Oct 2018 14:47:15 GMT
Could it be something with WordDelimiterFilter, EdgeNgram, and then
WordDelimiterFilter with CATENATE_ALL?

On Thu, Oct 4, 2018 at 10:31 AM Gordin, Ira <ira.gordin@sap.com> wrote:

> Hi Vadim,
>
> I want to use camel case when searching, for example, search "RHC" and
> find "redHotChilly".
>
> Thanks,
> Ira
>
> -----Original Message-----
> From: Vadim Gindin <vgindin@detectum.com>
> Sent: Thursday, October 4, 2018 10:24 AM
> To: java-user@lucene.apache.org
> Subject: Re: Camel case search with Lucene
>
> Hi Ira.
>
> If you want to use camel case query, for example, search "redHotChilly"
> instead of "red hot chilly" - you should use own pattern tokenizer to
> divide the query by regex pattern.
>
> Regards
> Vadim Gindin
>
> On Thu, Oct 4, 2018 at 11:58 AM Gordin, Ira <ira.gordin@sap.com> wrote:
>
> > Hi friends,
> >
> > How can I implement Camel case search with Lucene?
> >
> > Thanks,
> > Ira
> >
> >
> >
>


-- 
Sincerely yours
Mikhail Khludnev

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message