What characters are valid in couchdb-lucene keys?

811 Views Asked by At

I am able to store values in couchdb-lucene with whatever key I like, but it seems that if the key includes any chars outside of [0-9a-zA-Z_] any search fails.

Does anyone know what chars are valid and/or how to properly escape special chars in searches such that special chars can be used?

2

There are 2 best solutions below

0
On

All UTF-8 characters should work. I've just verified that I can search for items with é, for example.

A little more information on how you're querying would help, though given the age of this ticket perhaps you've moved on.

2
On

This shows how to escape special characters and also gives a list of such characters.