You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Midas A <te...@gmail.com> on 2016/04/06 07:33:34 UTC
search design question
i have to do entity and entity type mapping with help of search query
while building solr query.
how i should i design with the solr for search.
Please guide me .
Re: search design question
Posted by Reth RM <re...@gmail.com>.
Why not copy the field values of category, title, features, spec into a
common text field and then search on that field. Otherwise use a edismax
query parser and search with user search string on all the above fields may
be by boosting title, category and specs field in order to get relevant
results.
Could you please why do you need to form a query by recognizing the exact
field for each query term?
On Wed, Apr 6, 2016 at 3:07 PM, Binoy Dalal <bi...@gmail.com> wrote:
> I understand.
> Although I am not exactly sure how to solve this one, this should serve as
> a helpful starting point:
>
> https://lucidworks.com/resources/webinars/natural-language-search-with-solr/
>
> On Wed, 6 Apr 2016, 11:27 Midas A, <te...@gmail.com> wrote:
>
> > thanks Binoy for replying ,
> >
> > i am giving you few use cases
> >
> > a) shoes in nike or nike shoes
> >
> > Here "nike " is brand and in this case my query entity is shoe and
> entity
> > type is brand
> >
> > and my result should only pink nike shoes
> >
> >
> > b) " 32 inch LCD TV sony "
> >
> > 32 inch is size , LCD is entity type and sony is brand
> >
> >
> > in this case my solr query should be build in different manner to get
> > accurate results .
> >
> >
> >
> >
> > Probably, now u can understand my problem.
> >
> >
> > On Wed, Apr 6, 2016 at 11:12 AM, Binoy Dalal <bi...@gmail.com>
> > wrote:
> >
> > > Could you describe your problem in more detail with examples of your
> use
> > > cases.
> > >
> > > On Wed, 6 Apr 2016, 11:03 Midas A, <te...@gmail.com> wrote:
> > >
> > > > i have to do entity and entity type mapping with help of search
> query
> > > > while building solr query.
> > > >
> > > > how i should i design with the solr for search.
> > > >
> > > > Please guide me .
> > > >
> > > --
> > > Regards,
> > > Binoy Dalal
> > >
> >
> --
> Regards,
> Binoy Dalal
>
Re: search design question
Posted by Binoy Dalal <bi...@gmail.com>.
I understand.
Although I am not exactly sure how to solve this one, this should serve as
a helpful starting point:
https://lucidworks.com/resources/webinars/natural-language-search-with-solr/
On Wed, 6 Apr 2016, 11:27 Midas A, <te...@gmail.com> wrote:
> thanks Binoy for replying ,
>
> i am giving you few use cases
>
> a) shoes in nike or nike shoes
>
> Here "nike " is brand and in this case my query entity is shoe and entity
> type is brand
>
> and my result should only pink nike shoes
>
>
> b) " 32 inch LCD TV sony "
>
> 32 inch is size , LCD is entity type and sony is brand
>
>
> in this case my solr query should be build in different manner to get
> accurate results .
>
>
>
>
> Probably, now u can understand my problem.
>
>
> On Wed, Apr 6, 2016 at 11:12 AM, Binoy Dalal <bi...@gmail.com>
> wrote:
>
> > Could you describe your problem in more detail with examples of your use
> > cases.
> >
> > On Wed, 6 Apr 2016, 11:03 Midas A, <te...@gmail.com> wrote:
> >
> > > i have to do entity and entity type mapping with help of search query
> > > while building solr query.
> > >
> > > how i should i design with the solr for search.
> > >
> > > Please guide me .
> > >
> > --
> > Regards,
> > Binoy Dalal
> >
>
--
Regards,
Binoy Dalal
Re: search design question
Posted by Midas A <te...@gmail.com>.
thanks Binoy for replying ,
i am giving you few use cases
a) shoes in nike or nike shoes
Here "nike " is brand and in this case my query entity is shoe and entity
type is brand
and my result should only pink nike shoes
b) " 32 inch LCD TV sony "
32 inch is size , LCD is entity type and sony is brand
in this case my solr query should be build in different manner to get
accurate results .
Probably, now u can understand my problem.
On Wed, Apr 6, 2016 at 11:12 AM, Binoy Dalal <bi...@gmail.com> wrote:
> Could you describe your problem in more detail with examples of your use
> cases.
>
> On Wed, 6 Apr 2016, 11:03 Midas A, <te...@gmail.com> wrote:
>
> > i have to do entity and entity type mapping with help of search query
> > while building solr query.
> >
> > how i should i design with the solr for search.
> >
> > Please guide me .
> >
> --
> Regards,
> Binoy Dalal
>
Re: search design question
Posted by Binoy Dalal <bi...@gmail.com>.
Could you describe your problem in more detail with examples of your use
cases.
On Wed, 6 Apr 2016, 11:03 Midas A, <te...@gmail.com> wrote:
> i have to do entity and entity type mapping with help of search query
> while building solr query.
>
> how i should i design with the solr for search.
>
> Please guide me .
>
--
Regards,
Binoy Dalal