Hi Shahzad, Have you tried with the Minimum Should Match feature: http://wiki.apache.org/solr/ExtendedDisMax#mm_.28Minimum_.27Should.27_Match.29
Regards, Aloke On Wed, Oct 9, 2013 at 4:55 PM, Otis Gospodnetic <otis.gospodne...@gmail.com > wrote: > Hi, > > You can take your words, combine some % of them with AND. Then take another > set of them OR it with the previous set, and so on. > > Otis > Solr & ElasticSearch Support > http://sematext.com/ > On Oct 9, 2013 6:54 AM, "shahzad73" <shahzad...@yahoo.com> wrote: > > > Is there a way that in Solr Query i find documents that is composed > of > > n > > number of words. for example here is the list of words > > - Love > > - Ice > > - Cream > > - Sunny > > - I > > - To > > - A > > - On > > - Elephant > > - Balloon > > > > And a percentage such as: 80% > > > > Let’s assume you’re analyzing the text of the following sentence. > > > > “I love to eat ice cream on a sunny day” > > > > This sentence contains 10 words, and only 2 (Day and Eat) of them do not > > appear on the list. So the score for this sentence would be 80%. So this > > would be a valid search result. > > > > > > If the user had entered 90%, then this sentence would not be a valid > > result, > > since more than 10% aren’t on the list > > > > > > Shahzad > > > > > > > > -- > > View this message in context: > > > http://lucene.472066.n3.nabble.com/Find-documents-that-are-composed-of-words-tp4094264.html > > Sent from the Solr - User mailing list archive at Nabble.com. > > >