I'm currently creating a specific search script in java. I use SearchParameters to create and execute my Lucene query. But it seems to have a strange behaiour with some word like "paris" or "carie" (It's in french). With theses word (looking inside TEXT or title), it also returns results with "par" or "car". So, i would like to know why it does that only with some words and how to prevent that.
There are 2 possibilities for this. 1. You might be using * in your query i,e TEXT:"searchterm*". If this is the case remove *. 2. The way the field is been indexed. In your content model file if you have mentioned as tokenised = true then make it false.