{scrollbar:icons=false} |
The regular expression search searches against lower cased text. Additionally, this searches against the entire string as a single token, rather than the tokenized string.
The Regular Expression search has the following characteristics:
The following examples are based on the Automobiles coding scheme.
Example 1:
Search string: automobi.*
Lucene query: untokenizedLCPropertyValue:automobi.*
Complete query:
Result: 1 result
Example 2:
Search string: .*utomobile
Lucene query: untokenizedLCPropertyValue:.*utomobile
Complete query:
Result: 1 result
Junits can be found here: https://github.com/lexevs/lexevs/blob/master/lbTest/src/test/java/org/LexGrid/LexBIG/Impl/function/query/lucene/searchAlgorithms/TestRegExp.java