lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Muir <rcm...@gmail.com>
Subject Re: surround parser match-all query
Date Sun, 06 May 2012 23:28:16 GMT
Hi Mike: wheres for the normal queryparser this Query doesn't consult
the positions file and is trivial, how would such a query be
implemented for the surround parser? As a single span that matches all
positions for the whole document? Maybe it could be a "fake span" for
each document of 0 ... Integer.MAX_VALUE?

I think it would be nice to have as long as its not going to be too
inefficient...

On Sun, May 6, 2012 at 5:26 PM, Mike Sokolov <sokolov@ifactory.com> wrote:
> does anybody know how to express a MatchAllDocsQuery in surround query
> parser language?  I've tried
>
> *
>
> and()
>
> but those don't parse.  I looked at the grammar and I don't think there is a
> way.  Please let us all know if you know otherwise!
>
> Thanks
>
> -Mike Sokolov
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>



-- 
lucidimagination.com

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


Mime
View raw message