lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "efriwp@gmail.com" <efr...@gmail.com>
Subject Re: Does SOLR Allow q= (A or B) AND (C or D)?
Date Thu, 27 May 2010 23:37:45 GMT
Thanks, I found full interface :)

On Thu, May 27, 2010 at 7:12 PM, Erick Erickson <erickerickson@gmail.com>wrote:

> You can get a lot of mileage out of the admin
> analysis page and the "full interface" page, especially
> by turning on the "debug" option on the admin
> "full interface" page.
>
> It takes a bit of practice to read the debug output, but
> it's really, really, really worth it....
>
> Best
> Erick
>
> On Thu, May 27, 2010 at 6:37 PM, efriwp@gmail.com <efriwp@gmail.com>
> wrote:
>
> > Thank you. That seems to be working well, except when I included a wild
> > card
> > for any of the terms, the wildcard term isn't being found out.
> >
> > My searches are actually:
> > q=+(A A*) +(C C*)&q.op=OR
> >
> > When I do a regular search on "A*" or "C*" I get matches but not in the
> > context of the above query. The ability to use wildcards seems to get
> lost.
> >
> > This is all for the purposes of a "live search" in which we return
> matches
> > as the user types, thus the wildcard.  A and C represent two different
> > terms
> > a user has typed in the search box (where we are providing the
> live-search
> > results).
> >
> > thanks
> >
> > Brad
> >
> >
> >
> > On Thu, May 27, 2010 at 5:47 PM, Ahmet Arslan <iorixxx@yahoo.com> wrote:
> >
> > >
> > > > I have a query need that requires multiple OR conditions,
> > > > and, there must be
> > > > a match in each condition for the query to provide a
> > > > result.
> > > >
> > > > The search would be * (A or B) AND (C or D)* and the only
> > > > valid results it
> > > > could turn up are:
> > > >
> > > > A B
> > > > A C
> > > > B C
> > > > B D
> > > >
> > > > Can anyone provide guidance as to how to implement this in
> > > > the query string?
> > >
> > > It should be something like : q=+(A B) +(C D)&q.op=OR
> > >
> > >
> > >
> > >
> >
>

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