lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Muir (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-8304) Add TermFrequencyQuery
Date Thu, 10 May 2018 16:33:00 GMT

    [ https://issues.apache.org/jira/browse/LUCENE-8304?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16470677#comment-16470677
] 

Robert Muir commented on LUCENE-8304:
-------------------------------------

It is inefficient: because it takes as input something like "the" AND freq>50. Currently
this is done like a very-slow conjunction (the index is not used).

Maybe it would help to explain the use-case better for this query.

> Add TermFrequencyQuery
> ----------------------
>
>                 Key: LUCENE-8304
>                 URL: https://issues.apache.org/jira/browse/LUCENE-8304
>             Project: Lucene - Core
>          Issue Type: New Feature
>            Reporter: Alan Woodward
>            Assignee: Alan Woodward
>            Priority: Major
>         Attachments: LUCENE-8304.patch
>
>
> This has come up a few times when writing query parsers.  It would be useful to have
a query that returned documents that match a term with a particular frequency - eg, all docs
where "patent" appears at least five times.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message