lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Zheng Lin Edwin Yeo <edwinye...@gmail.com>
Subject Re: Searching under multiple field
Date Mon, 12 Jun 2017 03:20:48 GMT
Hi Ravi,

Thanks for your suggestion.

I'm looking at the edismax query parser, but could not figure out how we
can streamline the query using that.

As for using copyField, it is probably not a good idea, as it will increase
the index size.

Regards,
Edwin


On 12 June 2017 at 09:34, ANNAMANENI RAVEENDRA <a.raveendra432@gmail.com>
wrote:

> Hi,
>
> Use dismay or edismax query parser
>
> Or
>
> Use copy field concept
>
> Thanks
> Ravi
>
> On Sun, 11 Jun 2017 at 9:32 PM, Zheng Lin Edwin Yeo <edwinyeozl@gmail.com>
> wrote:
>
> > Hi,
> >
> > Currently, I'm using the following query to search for the same word
> under
> > different fields
> >
> > http://localhost:8983/solr/collection1/select?q=(field1_s:*test* OR
> > field2_s:*test* OR field3_s:*test* OR field4_s:*test*) AND
> > field1_tc:"Main"*
> >
> > Is there a way to better streamline the query, so that we will not have
> to
> > use so many "OR" in the query?
> >
> > I'm using Solr 6.5.1.
> >
> > Regards,
> > Edwin
> >
>

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