AW: Lucene and Chinese language

2010-07-01 Thread Kolhoff, Jacqueline - ENCOWAY
Ok, understand! So it is better to use another analyzer in the chinese case at index-time or do you suggest to use another "QueryParser" at query-time? -Ursprüngliche Nachricht- Von: Robert Muir [mailto:rcm...@gmail.com] Gesendet: Donnerstag, 1. Juli 2010 14:35 An: java-user@lucene.apac

AW: Lucene and Chinese language

2010-07-01 Thread Kolhoff, Jacqueline - ENCOWAY
Hm, that doesn't work for me. Maybe we misunderstood: in my query there aren't any double quotes (just add them to show that this is my query). I search in a field for a special value (substring) like 在电力虎 My query looks like this: +anotherfieldname:description +myfieldname:*在电力虎* We always

AW: Lucene and Chinese language

2010-07-01 Thread Kolhoff, Jacqueline - ENCOWAY
How can I add this PositionFilter? I can't see anything in the API. I use lucene version 3.0.1, this is my query parser: QueryParser queryParser = new QueryParser(Version.LUCENE_30, "myfieldname" , new StandardAnalyzer(Version.LUCENE_30)); -Ursprüngliche Nachricht- Von: Robert Muir [mai