You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by ho...@apache.org on 2020/01/08 23:38:05 UTC
[lucene-solr] 01/02: Revert "SOLR-11746: Adding docs for negative
existence queries."
This is an automated email from the ASF dual-hosted git repository.
houston pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git
commit ee66e5ef23b841f7f1f2e9820f1ebe380c29b672
Author: Houston Putman <ho...@gmail.com>
AuthorDate: Wed Jan 8 18:32:31 2020 -0500
Revert "SOLR-11746: Adding docs for negative existence queries."
This reverts commit 9edb143efdc6616906972ae6c629860c91a5a2e7.
---
solr/solr-ref-guide/src/the-standard-query-parser.adoc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/solr/solr-ref-guide/src/the-standard-query-parser.adoc b/solr/solr-ref-guide/src/the-standard-query-parser.adoc
index 66a6f10..7bff1d6 100644
--- a/solr/solr-ref-guide/src/the-standard-query-parser.adoc
+++ b/solr/solr-ref-guide/src/the-standard-query-parser.adoc
@@ -325,10 +325,10 @@ Solr's standard query parser originated as a variation of Lucene's "classic" Que
* A `*` may be used for either or both endpoints to specify an open-ended range query, or by itself as an existence query.
** `field:[* TO 100]` finds all field values less than or equal to 100
** `field:[100 TO *]` finds all field values greater than or equal to 100
-** `field:*` or `field:[* TO *]` finds all documents where the field exists (i.e. has a value)
+** `field:*` or `field:[* TO *]` matches all documents where the field exists
* Pure negative queries (all clauses prohibited) are allowed (only as a top-level clause)
** `-inStock:false` finds all field values where inStock is not false
-** `-field:*` or `-field:[* TO *]` finds all documents without a value for the field
+** `-field:[* TO *]` finds all documents without a value for field
* Support for embedded Solr queries (sub-queries) using any type of query parser as a nested clause using the local-params syntax.
** `inStock:true OR {!dismax qf='name manu' v='ipod'}`
+