On 5/7/07, Doron Cohen <[EMAIL PROTECTED]> wrote:
With a query parser set to allowLeadingWildcard, this should do:
( +item -price:* ) ( +item +price:[0100 TO 0150] )
or, to avoid too-many-cluases risk:
( +item -price:[MIN TO MAX]) ( +item +price:[0100 TO 0150] )
where MIN and MAX cover (at least)
> Is there a way to require a portion of a query only if there are values
for
> > > that field in the document?
> > > e.g. If I know that I only want to match movies made between 1973 and
> > > 1975,
> > > I would like to be able to say in my query that if the document has a
> > > year,
> > > it mu
On 5/6/07, Erick Erickson <[EMAIL PROTECTED]> wrote:
On 5/5/07, Daniel Einspanjer <[EMAIL PROTECTED]> wrote:
>
> The query syntax reference page talks about the NOT and the - operators,
> but
> it wasn't clear to me what exactly the difference is between
them. Could
> someone tell me briefly wh
See below...
On 5/5/07, Daniel Einspanjer <[EMAIL PROTECTED]> wrote:
The query syntax reference page talks about the NOT and the - operators,
but
it wasn't clear to me what exactly the difference is between them. Could
someone tell me briefly what that difference might be or point me at some
f