and when i am searching for "abc" then i want count like "abc" : "5","xyz" : "3" ,"def" :"1"
and when i m searching for "abc xyz" then i want count like "abc xyz" : "3","abc" : "2","def" : "1"
and when i m searching for "abc xyz abc" then i want count like "abc xyz abc" : "2","abc" : "1","xyz" : "1","abc" : "1"
You could potentially use query facets, and have a query yourself broken
down based on the provided text, you can have several query facet (a query
facet is a simple one that returns count for hte docs matching the query).
and when i am searching for "abc" then i want count like "abc" : "5","xyz"
:
"3" ,"def" :"1"
and when i m searching for "abc xyz" then i want count like "abc xyz" :
"3","abc" : "2","def" : "1"
and when i m searching for "abc xyz abc" then i want count like "abc xyz
abc" : "2","abc" : "1","xyz" : "1","abc" : "1"
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.