Package ch.tocco.nice2.enterprisesearch.impl.searchbuilder
package ch.tocco.nice2.enterprisesearch.impl.searchbuilder
-
ClassDescriptionCreates search conditions for dates.Adds wildcard at end of last term (results in "(myterm OR myterm*), if: * real search server is used and the search is not directly done one the database * term is not a number * term does not start with a quote (") * term does not end with a wildcard or question mark (* / ?) * term does not end with a brace (() * term does not end with a range operator (] / }) * term is longer than one charAdds wildcard at begin and end of every single term, if: * term does not start with a quoteCloses quotes at end of last term in case of uneven count of quotes.
SearchTerm
is the representation of alucene
search term, which can handle parentheses, asterisks and field prefixes.