You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by Paul Libbrecht <pa...@hoplahup.net> on 2010/12/30 20:15:05 UTC

Comment in query-parser?

I'm more and more involved into preparing dedicated pages that list resources of our servers according to an elaborate query I received in a human description and "implement" as a query-parser query. Doing this I regularly use "indexed-doc" views.

The implementation is thus a query that could be somewhat long and would enjoy illuminating comments.

Is there anything in the query parser that would be considered ignored till the end of the line?
Currently I'm using a fancy field but it introduces a useless query.

thanks in advance

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


Re: Comment in query-parser?

Posted by Federico Fissore <fe...@fissore.org>.
Paul Libbrecht, il 30/12/2010 20:15, ha scritto:
[...]

> Is there anything in the query parser that would be considered ignored till the end of the line?
> Currently I'm using a fancy field but it introduces a useless query.
>

I would make a CommentFilter and put it in an Analyzer I would give to 
the standard query parser

federico

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