Suppose i'm 3 documents . Abul hassan was a actor hassan was a actor abul was a actor
if i want to search for abul hassan ,search query will return all of the 3 document , but i want to get only 1st document as this document has abul hassan .
i want to get those document which will have exactly same sentence(multiple words) that i searched for . how would i achieve my goal .
Please share reproducible examples of your queries, otherwise it is impossible to help. In this example I suppose you are running an OR search instead of an AND search and you need to specify that as part of your query.
This query return all of the documents , however if i use AND operator it'll return
2 documents (Abul hassan was a actor & abul was a actor and hassan was a police), but i want to get only Abul hassan was a actor document as only this document has Abul hassan in it
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.