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

Alan Woodward commented on LUCENE-9560:
---------------------------------------

Interval queries should already allow you to do this, but of course won't 
produce scores in the same way.

> Position aware TermQuery
> ------------------------
>
>                 Key: LUCENE-9560
>                 URL: https://issues.apache.org/jira/browse/LUCENE-9560
>             Project: Lucene - Core
>          Issue Type: New Feature
>          Components: core/search
>            Reporter: Haoyu Zhai
>            Priority: Major
>
> In our work, we index most of our fields into an "all" field (like 
> elasticsearch) to make our search faster. But at the same time we still want 
> to support some of the field specific search (like {{title}}), so currently 
> our solution is to double index them so that we could do both "all" search as 
> well as specific field search.
> I want to propose a new term query that accept a range in a specific field to 
> search so that we could search on "all" field but act like a field specific 
> search. Then we need not to doubly index those field.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to