lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Baris Kazar <baris.ka...@oracle.com>
Subject Re: partial match
Date Sat, 03 Aug 2019 16:06:48 GMT
or should i do this
*est* // omit first char and search
*t*st* // omit second char and search-> can we use 3 *s in search?
*te*t* // omit third char and search-> can we use 3 *s in search?
*tes* // omit last char and search

Best regards

----- Original Message -----
From: baris.kazar@oracle.com
To: java-user@lucene.apache.org
Cc: baris.kazar@oracle.com
Sent: Saturday, August 3, 2019 12:00:48 PM GMT -05:00 US/Canada Eastern
Subject: Re: partial match

*test~* will also find tesk too and many more combinations, which is ok.
but is this possible with Lucene?
Best regards

----- Original Message -----
From: baris.kazar@oracle.com
To: java-user@lucene.apache.org
Cc: baris.kazar@oracle.com
Sent: Saturday, August 3, 2019 11:57:37 AM GMT -05:00 US/Canada Eastern
Subject: partial match

Hi,-
 from http://lucene.apache.org/core/3_1_0/queryparsersyntax.html#Fuzzy%20Searches
i would like to search *test~* where i want to find test or text anywhere in the indexed field.
is this possible? i think by setting parser *test* is possible where we can use a * or ? symbol
as the first character of a search.
But will ~ work in this scenario?
Best regards
baris

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message