lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erick Erickson <erickerick...@gmail.com>
Subject Re: Help using boolean operators
Date Tue, 20 Apr 2010 15:10:25 GMT
That's a fine thing to do, that's what parentheses are for <G>....

Erick

On Tue, Apr 20, 2010 at 1:16 AM, Sandhya Agarwal <sagarwal@opentext.com>wrote:

> Thanks Erick. Using parentheses works.
>
> With parentheses, the query,q=field1: (this is a good string) is parsed as
> follows :
>
> +field1:this +field1:good +field1:string
>
> Is that ok to do.
>
> Thanks,
> Sandhya
>
> -----Original Message-----
> From: Erick Erickson [mailto:erickerickson@gmail.com]
> Sent: Tuesday, April 20, 2010 4:16 AM
> To: solr-user@lucene.apache.org
> Subject: Re: Help using boolean operators
>
> ?id you try parenthesizing:
> field1:(This is a good string)
>
> You can try lots of things easily by going to
> http://localhost:8983/solr/admin/form.jsp
> and clicking the "debug enable" checkbox...
>
> HTH
> Erick
>
> On Mon, Apr 19, 2010 at 12:23 PM, MitchK <mitch91@web.de> wrote:
>
> >
> > Erick,
> >
> > I am a little bit confused, because I wasn't aware of this fact (and have
> > never noticed any wrong behaviour... maybe because I used the
> > dismax-handler).
> > How should I search for
> > field1: This is a good string
> > without doing something like
> > field1:this field1:is ... ?
> > If I quote the whole thing, Solr would search for the whole phrase (and
> > only
> > the whole phrase), or am I wrong?
> >
> > I would test it, if I can, but unfortunately it's not possible at the
> > moment.
> >
> > Thank you!
> >
> > Mitch
> > --
> > View this message in context:
> > http://n3.nabble.com/Help-using-boolean-operators-tp729102p730051.html
> > Sent from the Solr - User mailing list archive at Nabble.com.
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message