ene
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 wrote:
> Hi
Hi friends,
How can I implement Camel case search with Lucene?
Thanks,
Ira
example:
https://github.com/google/re2j
And yes, grep command would be the best tool for you.
Tomoko
2018年8月1日(水) 20:01 Gordin, Ira :
> Hi Tomoko,
>
> I need to search in many files and we use Lucene for this purpose.
>
> Thanks,
> Ira
>
> -Original Message-
>
to implement regex search in file
Why are you using Lucene for regular expression search?
You can implement this by simply using java.util.regex package?
Regards,
Tomoko
2018年8月1日(水) 0:18 Gordin, Ira :
> Hi Uwe,
>
> I am trying to implement regex search in file the same as in editors,
ectly. Using a
regular expression as "default" query is slow and does not look correct. What
are you trying to do?
Uwe
-
Uwe Schindler
Achterdiek 19, D-28357 Bremen
http://www.thetaphi.de
eMail: u...@thetaphi.de
> -Original Message-
> From: Gordin, Ira
> Sent:
Hi all,
I understand Lucene knows to find query matches in tokens. For example if I use
WhiteSpaceTokenizer and I am searching with /.*nice day.*/ regular expression,
I'll always find nothing. Am I correct?
In my project I need to find matches inside lines and not inside words, so I am
consider
e.org/core/7_3_1/highlighter/org/apache/lucene/search/highlight/package-summary.html#package.description
On Tue, Jun 26, 2018 at 10:57 AM Gordin, Ira wrote:
> Hi all,
> I started to work on project which currently search code files for words
> which contains a given substrings.
>
Hi all,
I started to work on project which currently search code files for words which
contains a given substrings.
Currently it uses WhitespaceTokenizerand use regex query which wraps the
searched substring with '.*'.
For example, if one search for 'a', the query will be '/.*a.*/'. In this way i