Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

CDCM supports full-text search beginning from version 1 . Like a normal search query it is possible to just enter a part of a word and still get all matching search results…image-20240527-065034.pngImage Removedif running on Atlas (https://www.mongodb.com/products/platform/atlas-database ).

...

Partial Matching

...

It is possible to search search for partial matches in the data. There is no difference between “wash” and “wash*”.

Negation Queries

...

It is possible to exclude certain terms from the seach. In the case above the term “machine” is excluded by the preceding “-” sign. It is also possible to exclude multiple terms (e.g. “wash -machine -friction”).

Exact Matches

...

Also you can search for exact matches if you include them in quotes.

Sorting & Scope

Sorting of Results

The search hits are sorted by a search score similar to the one that big search engines like Google are using, so based on relevance. If the search term is found in the title or description it is ranked higher than in any of the other properties and thus appears more to the top. This behaviour ensures the most relevant results appear first.

...

The search is looking for the search term in all fields, including the dynamic properties.

Filtering of the results

It is also possible to add search filters to the query which have the effect of filtering the possible search results down to all matching the given filter.

...