Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
cloudfilesearch [2018_07_19 19:48] – [3 Deeper Search Options] steven | cloudfilesearch [2018_08_02 14:27] – steven | ||
---|---|---|---|
Line 32: | Line 32: | ||
===== 3 Content Search ===== | ===== 3 Content Search ===== | ||
- | Content search is supported with our on-premises cloud appliance with the [[http:// | + | Content search is supported with our on-premises cloud appliance with the [[http:// |
{{:/ | {{:/ | ||
- | ==== Search Options ==== | + | ==== 3.1 Content |
- | Search input: The input string is first split into search tokens, by its spaces and punctuation characters (which are ignored). Each of these search tokens are queried in Solr using AND operators. How these tokenized search terms are used in the query is dependent on the modifier flags that you have set when running the query. Searches are case insensitive. | + | Search input: The input string is first split into search tokens, by its spaces and punctuation characters (which are ignored). Each of these search tokens are queried in Solr (using AND or OR operators). How these tokenized search terms are used in the query is dependent on the modifier flags that you have set when running the query. Searches are case insensitive. |
Here's a worked example for the modifiers, if we are searching for "a summer holiday" | Here's a worked example for the modifiers, if we are searching for "a summer holiday" | ||
- | * **Match exact word or phrase** - This searches for documents containing the exact phrase. If this string is found in the middle of a document, Solr will expect a proceeding space before the " | + | * **Match exact word or phrase** - This searches for documents containing the exact phrase. If this string is found in the middle of a document, Solr will expect a proceeding |
- | * **Whole word** - Given each of the word tokens " | + | * To find documents that include every word, but not necessarily together, use the " |
- | So, this could match "I would like a little holiday" | + | |
+ | * **Whole word** - Given each of the word tokens " | ||
+ | * To find documents that must include all whole words, use the " | ||
* **Begins with word** - Given each of the word tokens, it searches for documents either containing at least one of those words exactly, or where a word starts with either of those terms. The pseudo query looks like: " | * **Begins with word** - Given each of the word tokens, it searches for documents either containing at least one of those words exactly, or where a word starts with either of those terms. The pseudo query looks like: " | ||
So, this could match "Where are you going on your holidays?" | So, this could match "Where are you going on your holidays?" | ||
+ | |||
* **Ends with word** - This is the inverse of Begins with Word. So, it searches for words ending in the tokens. The pseudo query looks like: " | * **Ends with word** - This is the inverse of Begins with Word. So, it searches for words ending in the tokens. The pseudo query looks like: " | ||
- | So, this could match "could you find my bra?" ("bra" | + | So, this could match "could you find my cake?" ("cake" |
* **Use wildcards** - This is a combination of Ends with and Starts with. The pseudo query looks like: " | * **Use wildcards** - This is a combination of Ends with and Starts with. The pseudo query looks like: " | ||
- | So, this could match "could you find my suncream for my summer holidays?" | + | So, this could match "could you find my suncream for my summer holidays?" |
If you use multiple modifiers, it becomes an OR between them. Here's some notes on that behaviour: | If you use multiple modifiers, it becomes an OR between them. Here's some notes on that behaviour: | ||
* Ticking " | * Ticking " | ||
- | * The modifiers are OR's between each one. So, "Whole word" and " | + | * The modifiers are OR's between each one. So, "Whole word" and " |