aboutsummaryrefslogtreecommitdiff
path: root/icing/query/query-features.h
diff options
context:
space:
mode:
authorTim Barron <tjbarron@google.com>2023-03-14 09:57:47 -0700
committerTim Barron <tjbarron@google.com>2023-03-14 09:57:47 -0700
commitc1e7edff54723138756063ee4b7948c1ee91277e (patch)
treeb2a55e543a6c9396631feaab459bfd671a8bc400 /icing/query/query-features.h
parent140aaee3e7b269f02599310e42d6172090ce02d2 (diff)
parentd5c81ae0c41ae9c1aefb3601f3836570b9f686c7 (diff)
downloadicing-c1e7edff54723138756063ee4b7948c1ee91277e.tar.gz
Merge remote-tracking branch 'goog/upstream-master' into androidx-platform-dev
* goog/upstream-master: Update Icing from upstream. Update Icing from upstream. Descriptions: ======================================================================== Cache an instance of UBreakIterator to reduce unnecessary creations. ======================================================================== Cap number of individual IntegerIndexStorages that IntegerIndex creates. ======================================================================== Change error in trimRightMostNode from Unimplemented to InvalidArgument. ======================================================================== Add detection for new language features of List Filters Query Language. ======================================================================== Add option to control threshold to rebuild index during optimize by flag ======================================================================== Add option to control use of namespace id to build urimapper by flag. ======================================================================== Enforce schema validation for joinable config. ======================================================================== Adopt bucket splitting for IntegerIndexStorage. ======================================================================== Implement bucket splitting function. ======================================================================== Add Icing initialization unit tests for QualifiedIdTypeJoinableIndex. ======================================================================== Add Icing schema change unit tests for QualifiedIdTypeJoinableIndex. ======================================================================== Add Icing optimization unit tests for QualifiedIdTypeJoinableIndex. ======================================================================== Integrate QualifiedIdTypeJoinableIndex into IcingSearchEngine. ======================================================================== Implement QualifiedIdJoinablePropertyIndexingHandler. ======================================================================== Change QualifiedIdTypeJoinableIndex to store raw qualified id string. ======================================================================== Pass info about unnormalized query terms through lexer/parser/visitor. ======================================================================== Integrate Advanced Query w/ Suggest, make ADVANCED_QUERY default parser. ====================================================================== Bug: 208654892 Bug: 263890397 Bug: 259743562 Bug: 272145329 Bug: 227356108 Change-Id: I44de5853bb6c55b42800ae34d8071016be6c87cd
Diffstat (limited to 'icing/query/query-features.h')
-rw-r--r--icing/query/query-features.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/icing/query/query-features.h b/icing/query/query-features.h
index 1471063..9fafba5 100644
--- a/icing/query/query-features.h
+++ b/icing/query/query-features.h
@@ -36,8 +36,14 @@ constexpr Feature kNumericSearchFeature =
constexpr Feature kVerbatimSearchFeature =
"VERBATIM_SEARCH"; // Features#VERBATIM_SEARCH
-// TODO(b/208654892): Add this as an enabled feature in the query visitor when
-// it gets invoked.
+// This feature covers all additions (other than numeric search and verbatim
+// search) to the query language to bring it into better alignment with the list
+// filters spec.
+// This includes:
+// - support for function calls
+// - expanding support for negation and property restriction expressions
+// - prefix operator '*'
+// - 'NOT' operator
constexpr Feature kListFilterQueryLanguageFeature =
"LIST_FILTER_QUERY_LANGUAGE"; // Features#LIST_FILTER_QUERY_LANGUAGE