Phrase search on 'keyword' analyzed field?

If my data to be indexed is like "int a = (c+d)*(e/f)" and i use keyword analyzer , what kind of query would help me find results for "(c+d)".

I tried using whitespace analyzer too - in that case when i do a phrase search it returns results only for "(c+d)*(e/f)" as the split for terms is based on space. But is my query is (c+d) no results are obtained.

Any help?

Thanks, Divya

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.