Thanks for your replies.

The requirement is basically to avoid documents which may have a match but
with very less number of term or phrase in it. May a be 1/2 matches.
The user is interested in those document which has matched term/phrase
beyond a certain number.
This can be a valid feature/requirement.

Best,
Modassar

On Mon, Nov 19, 2018 at 10:55 PM Alessandro Benedetti <a.benede...@sease.io>
wrote:

> I agree with Alexandre, it seems suspicious.
> Anyway, if you want to query for single term frequencies occurrence you
> could make use of the function range query parser :
>
>
> https://lucene.apache.org/solr/guide/6_6/other-parsers.html#OtherParsers-FunctionRangeQueryParser
>
> And the function:
>
> termfreq
> Returns the number of times the term appears in the field for that
> document.
> termfreq(text,'memory')
>
> tf
> Term frequency; returns the term frequency factor for the given term, using
> the Similarity for the field. The tf-idf value increases proportionally to
> the number of times a word appears in the document, but is offset by the
> frequency of the word in the document, which helps to control for the fact
> that some words are generally more common than others. See also idf.
> tf(text,'solr')
>
> Cheers
>
>
>
> -----
> ---------------
> Alessandro Benedetti
> Search Consultant, R&D Software Engineer, Director
> Sease Ltd. - www.sease.io
> --
> Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html
>

Reply via email to