Hi Martin,

stumbled upon this thread just now and wanted to comment on this.

In your example, the entry has the name "Wein & Co", and your search phrase 
is "wein & co", which is the full name, but all lower-case.
If that is your type of search, you could store an extra field nameLower: 
LOWER("Wein & Co") - "wein & co" - in the documents, add a hash index and 
convert the search phrase to all lower-case as well.
That will allow you to find exact matches, but case-insensitive, utilizing 
an index.

If you want to also find the entry with phrase "wein &", you can use a 
skiplist index as described 
here: 
https://docs.arangodb.com/3.2/Cookbook/UseCases/PopulatingAnAutocompleteTextbox.html

Best,
Simran

-- 
You received this message because you are subscribed to the Google Groups 
"ArangoDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to arangodb+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to