Could it be as simple as a missing colon after article in +code:CCOM
+article[l123-12 TO l123-14]?

If not, double check analyzers, see what Luke shows as indexed terms
for that field, work through the FAQ info posted earlier.  And play
with quotes - sometimes you show your article values quoted, sometimes
not.


--
Ian.


On Tue, May 17, 2011 at 5:01 PM, G.Long <jde...@gmail.com> wrote:
> I added a standard analyzer and a Query Parser to parse each boolean clause
> of my query and i got some results :)
> But now there are some strange behaviors.
>
> the following queries :
>
> +code:CCOM +article:"l123-12"
> +code:CCOM +article:"l123-13"
> +code:CCOM +article:"l123-14"
>
> return one result.
>
> However, the following query :
>
> +code:CCOM +article[l123-12 TO l123-14]
>
> return nothing =(
>
> With other parameters, the range query works almost fine but some results
> are missing.
> What could be the problem? Could it have something to do with the way the
> documents are indexed?
> (the use of Field.Index.ANALYZED for example)
>
> Thank you for your help :)
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
> For additional commands, e-mail: java-user-h...@lucene.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org

Reply via email to