Full text search11/14/2022 ecm:fulltext_someindex = 'something' if an index called "someindex" is configured in the Repository configuration.Inside the WHERE clause, a full-text query for "something" (as described in the previous section) can be expressed in several ways: In NXQL the full-text query is part of a WHERE clause that can contain other matches on metadata. MongoDB does not support prefix matching, so a query for hel* will not match hello.This is due to way this feature is implemented, which is detailed at NXP-6720. a query of "hello worlds" will not match a document containing just hello world without a final s). Phrase search using a PostgreSQL back-end database is supported and cannot use word stemming (i.e.Check your database configuration for more on this, and the "analyzer" parameter used in the Nuxeo configuration for your database. Depending on the back-end database and its configuration, different word stemming strategies may be used, which means that universes and universal (for instance) may or may not be considered the same word.A query term (sequence of AND-ed words without an OR) containing only negations will not match anything.You can enclose several words in double quotes " for a phrase search (the words must exactly follow each other).ĭocuments containing both hello and world and which do not contain smurf: hello world -smurfĭocuments containing hello and a word starting with worl: hello worl*ĭocuments containing both hello and world, or documents containing smurf but not containing black: hello world OR smurf -blackĭocuments containing hello followed by world and also containing smurf: "hello world" smurf. You can use OR between words (it has a lower precedence than the implicit AND).A word can end with * to signify prefix search (the word must start with this prefix).Įnding a word with % instead of * for prefix search is also supported for historical reasons.A word can start with - to signify negation (the word must not be present).Search queries are expressed in a Nuxeo-defined syntax, described below.Ī full-text query is a sequence of space-separated words. Nuxeo documents can be searched using full-text queries the standard way to do so is to use the top-right "quick search" box in the Nuxeo Platform.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |