Could you possibly explain a bit more what you mean? Perhaps a code snippet? My own thoughts were to use a custom analyzer and in it apply a filter which strips out apostrophes from the tokens. This works very well and my search returns all the valid matches but the highlighter returns no best fragments and this is a serious problem. Is that because the highlighter looks for the sanitised tokens in the text instead of the raw tokens?
Perhaps your solution would not have this problem but I am unsure how to implement it. Thanks, -sbs -- View this message in context: http://lucene.472066.n3.nabble.com/How-to-ignore-apostrophes-in-indexes-and-queries-tp3328638p3331914.html Sent from the Lucene - Java Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org