Indica supports finding words are a within a specific distance away from each other, which is called a proximity search. The distance is the number of words between two words. To do a proximity search use the tilde, "~", symbol at the end of a Phrase, followed by the maximum number of words that is allowed to be between the words. For example to search for a "apache" and "jakarta" within 10 words of each other in a document use the search:
"jakarta apache"~10
Please note that proximity searches in Indica also take the order of words into account. So in the example given above, it will only search for documents where “jakarta” appears before “apache” within 10 words of each other.