public interface ScoredTextFieldOperation<T>
ScoredFilter<T> query(String query)
Allows to build Google like searches. The returned result hits are by default ordered by score (best fit first). Note, some result may not match the complete query string but may also be relevant.
This will return all dossiers that contain the words
List<Dossier> result = ivy.repo.search(Dossier.class)
Ivy but also dossiers where
Ivy is not spelled correct (e.g.
By default at least one of the given words in the query string must be available (OR operation). E.g
Axon Ivy means
Ivy has to be in the business data value.
The value that contains all words are scored higher than the value that misses one of the words.
You can use the following operators inside the query string:
|+||The value should contain the word.|
||||Or operation. The value should contain at least one of the words.|
|-||Not operation. Negates the following expression.|
|""||The value should contain all words in the quotes and they should stand adjacent.|
|*||The value should contain a word that starts with the given prefix.|
|~N||The value should contain the word. Also misspelled words are matched.|
The number defines how many characters can be misspelled.
|~N||Defines the distance the given words in the phrase can be separate from each other.|
query- the query string
Copyright © 2018
AXON Ivy AG
All Rights Reserved Documentation was generated
on November 12, 2018