Re: Spanquery problem

2007-04-30 Thread Erick Erickson
: java-user@lucene.apache.org Objet : Re: Spanquery problem The first thing I'd do is not use a HashSet when you collect your SpanTermQuerys since the iteration order is not guaranteed. That is, the order when putting them in is not necessarily the same as when getting them out.

RE: Spanquery problem

2007-04-30 Thread axel.reymonet
ckson [mailto:[EMAIL PROTECTED] Envoyé : lundi 30 avril 2007 14:52 À : java-user@lucene.apache.org Objet : Re: Spanquery problem The first thing I'd do is not use a HashSet when you collect your SpanTermQuerys since the iteration order is not guaranteed. That is, the order when putting them

Re: Spanquery problem

2007-04-30 Thread Erick Erickson
The first thing I'd do is not use a HashSet when you collect your SpanTermQuerys since the iteration order is not guaranteed. That is, the order when putting them in is not necessarily the same as when getting them out. So you may be searching for "automatique climatisation" rather then "climatisa

Spanquery problem

2007-04-30 Thread axel.reymonet
Hello, I am having some issues with the SpanQuery functionality. As a matter of fact, I index a single french file containing for instance "climatisation automatique" (which means automatic air-conditioning) with the classical FrenchAnalyzer, and when I search in this index with SpanQuery, I have