Zack Bloom
Zack Bloom

Reputation: 8427

What characters are valid in couchdb-lucene keys?

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?

Upvotes: 4

Views: 810

Answers (2)

Robert Newson
Robert Newson

Reputation: 4631

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.

Upvotes: 0

nikhil500
nikhil500

Reputation: 3450

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

Upvotes: 4

Related Questions