Re: Querying field with parenthesis

2012-03-26 Thread Erick Erickson
Your problem is the KeywordTokenizerFactory and the query parser. This often trips people up. When you use author:(stephen king), the query parser breaks this up before it gets to the analysis chain into two separate tokens. But by virtue of the fact that you're using KeywordTokenizer, the actual f

Querying field with parenthesis

2012-03-26 Thread Tim TerlegÄrd
I have created my own field type. I have indexed "Stephen King" and get no hit when searching author:(stephen king) I get a hit when searching like this author:(stephen* AND *king) I also get a hit when searching like this author:"stephen king" So it seems like when querying with (...) it actual