lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Varun Thacker (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (SOLR-12488) Rewrite exists field value query to leverage DocValuesFieldExistsQuery and NormsFieldExistsQuery
Date Sat, 18 May 2019 03:06:02 GMT

     [ https://issues.apache.org/jira/browse/SOLR-12488?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Varun Thacker resolved SOLR-12488.
----------------------------------
    Resolution: Duplicate

Indeed! I'll close this one out.

> Rewrite exists field value query to leverage DocValuesFieldExistsQuery and NormsFieldExistsQuery
> ------------------------------------------------------------------------------------------------
>
>                 Key: SOLR-12488
>                 URL: https://issues.apache.org/jira/browse/SOLR-12488
>             Project: Solr
>          Issue Type: Improvement
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: query parsers
>            Reporter: Varun Thacker
>            Priority: Major
>
> A few of us were discussing at Buzzwords on how a common use case requirement is "match
documents which have values for a field"
> To do this we need to query "-fq:brand:*" . This query can be slow and can be optimized
> We can take advantage of NormsFieldExistsQuery and DocValuesFieldExistsQuery to speed
up this use-case and not have to resort to WildcardQuery 
> Today Solr's schema has doc-values enabled for fields that support it and for text fields
norms are enabled by default so most users would already have the necessary indexed structures 



--
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