Thanks, youve sparked a thought Ive now realised I was calling the wrong method i had another method (simpleSearch) that used the Query parser to parse the search string which I should have been using

cheers Paul

Koji Sekiguchi wrote:
Hi Pail,

Try WildcardQuery instead of TermQuery as follows:

          //Search on column columnId for value searchstring
WildcardQuery query = new WildcardQuery(new Term(String.valueOf(columnId),searchstring));

Thank you,

Koji


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to