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:00:47 GMT
*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