Is there any way to find documents by querying fields for matching terms similar to database LIKE
I have gone thru some of the queries which are dated 2012, 2011. None of them has straightforward answer. Not sure of we have the feature in current version 1.4.5
I want some thing like ...
Actual data : Field1 : Something similar to this
My queries : "omething simi"
,"ilar to thi" should be able to retrieve the document.
You need first to understand that a search engine is not a SQL like system.
It’s based on a inverted index so what you query is not your source data but the index you have created.
The way you build your index is extremely important then.
You could imagine using wildcard queries but first it would inefficient and it would require that instead of indexing tokens you index full sentences.
Is there any way to find documents by querying fields for matching terms
similar to database LIKE
I have gone thru some of the queries which are dated 2012, 2011. None of
them has straightforward answer. Not sure of we have the feature in current
version 1.4.5
I want some thing like ...
Actual data : Field1 : Something similar to this
My queries : "omething simi"
,"ilar to thi" should be able to retrieve the document.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.