Re: Filtering solr suggest results

2018-07-04 Thread Arunan Sugunakumar
Hi Peter,

Thanks for the help. Didn't see it before.

Thanks,
Arunan

*Sugunakumar Arunan*
Undergraduate - CSE | UOM


On 3 July 2018 at 18:50, Peter Lancaster 
wrote:

> Hi Arunan,
>
> You can use a context filter query as described https://lucene.apache.org/
> solr/guide/6_6/suggester.html
>
> Cheers,
> Peter.
>
> -Original Message-
> From: Arunan Sugunakumar [mailto:arunans...@cse.mrt.ac.lk]
> Sent: 03 July 2018 12:17
> To: solr-user@lucene.apache.org
> Subject: Filtering solr suggest results
>
> Hi,
>
> I would like to know whether it is possible to filter the suggestions
> returned by the suggest component according to a field. For example I have
> a list of books published by different publications. I want to show
> suggestions for a book title under a specific publication.
>
> Thanks in Advance,
>
> Arunan
>
> *Sugunakumar Arunan*
> Undergraduate - CSE | UOM
>
> Email : aruna ns...@cse.mrt.ac.lk
> 
>
> This message is confidential and may contain privileged information. You
> should not disclose its contents to any other person. If you are not the
> intended recipient, please notify the sender named above immediately. It is
> expressly declared that this e-mail does not constitute nor form part of a
> contract or unilateral obligation. Opinions, conclusions and other
> information in this message that do not relate to the official business of
> findmypast shall be understood as neither given nor endorsed by it.
> 
>
> __
>
> This email has been checked for virus and other malicious content prior to
> leaving our network.
> __
>


RE: Filtering solr suggest results

2018-07-03 Thread Peter Lancaster
Hi Arunan,

You can use a context filter query as described 
https://lucene.apache.org/solr/guide/6_6/suggester.html

Cheers,
Peter.

-Original Message-
From: Arunan Sugunakumar [mailto:arunans...@cse.mrt.ac.lk]
Sent: 03 July 2018 12:17
To: solr-user@lucene.apache.org
Subject: Filtering solr suggest results

Hi,

I would like to know whether it is possible to filter the suggestions returned 
by the suggest component according to a field. For example I have a list of 
books published by different publications. I want to show suggestions for a 
book title under a specific publication.

Thanks in Advance,

Arunan

*Sugunakumar Arunan*
Undergraduate - CSE | UOM

Email : aruna ns...@cse.mrt.ac.lk


This message is confidential and may contain privileged information. You should 
not disclose its contents to any other person. If you are not the intended 
recipient, please notify the sender named above immediately. It is expressly 
declared that this e-mail does not constitute nor form part of a contract or 
unilateral obligation. Opinions, conclusions and other information in this 
message that do not relate to the official business of findmypast shall be 
understood as neither given nor endorsed by it.


__

This email has been checked for virus and other malicious content prior to 
leaving our network.
__


Filtering solr suggest results

2018-07-03 Thread Arunan Sugunakumar
Hi,

I would like to know whether it is possible to filter the suggestions
returned by the suggest component according to a field. For example I have
a list of books published by different publications. I want to show
suggestions for a book title under a specific publication.

Thanks in Advance,

Arunan

*Sugunakumar Arunan*
Undergraduate - CSE | UOM

Email : aruna ns...@cse.mrt.ac.lk