lucene-dev mailing list archives

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

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

Alan Woodward commented on LUCENE-8304:
---------------------------------------

It's no more inefficient than a plain TermQuery though?  We can make it more efficient using
impacts, but I think this is still useful in its current state.

> 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