[ https://issues.apache.org/jira/browse/LUCENE-7899?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16074887#comment-16074887 ]
ASF subversion and git services commented on LUCENE-7899: --------------------------------------------------------- Commit f7ab772066faa0018814d7761b44b76a5114e796 in lucene-solr's branch refs/heads/branch_7x from Mike McCandless [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=f7ab772 ] LUCENE-7899: add missing file > Rename FieldValueQuery to DocValuesFieldExistsQuery > --------------------------------------------------- > > Key: LUCENE-7899 > URL: https://issues.apache.org/jira/browse/LUCENE-7899 > Project: Lucene - Core > Issue Type: Improvement > Reporter: Michael McCandless > Assignee: Michael McCandless > Priority: Blocker > Fix For: 7.0 > > Attachments: LUCENE-7899.patch > > > I don't think we have a query today to efficiently test whether a doc values > field exists (has any value) for each document in the index? > Now that we use iterators to access doc values, this should be an efficient > query: we can return the DISI we get for the doc values. > ElasticSearch indexes its own field to record which field names occur in a > document, so it's able to do "exists" for any field (not just doc values > fields), but I think doc values fields we can just get "for free". > I haven't started on this ... just wanted to open the issue first for > discussion. -- This message was sent by Atlassian JIRA (v6.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org