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 Joel Bernstein <jo...@gmail.com> on 2016/05/01 19:08:38 UTC
Re: Streaming expression for suggester
This is the type of thing that Streaming Expressions does well, but there
isn't one yet for the suggester. Feel free to add a SuggestStream jira
ticket, it should be very easy to add.
Joel Bernstein
http://joelsolr.blogspot.com/
On Sat, Apr 30, 2016 at 6:30 AM, Pranaya Behera <pr...@igp.com>
wrote:
> Hi,
> I have two collections lets name them as A and B. I want to suggester
> to work on both the collection while searching on the front-end application.
> In collection A I have 4 different fields. I want to use all of them for
> the suggester. Shall I copy them to a new field of combined of the 4 fields
> and use it on the spellcheck component and then use that field for the
> suggester?
> In collection B I have only 1 field.
>
> When user searches something in the front-end application, I would like to
> show results from the both collections. Is streaming expression would be a
> viable option here ? If so, how ? I couldn't find any related document for
> the suggester streaming expression. If not, then how would I approach this ?
>
Re: Streaming expression for suggester
Posted by Pranaya Behera <pr...@igp.com>.
I cant return other fields in the response if I use SuggestComponent ?
On Monday 02 May 2016 08:13 AM, Joel Bernstein wrote:
> Sure take a look at the RandomStream. You can copy the basic structure of
> it but have it work with the suggester. The link below shows the test cases
> as well:
>
> https://github.com/apache/lucene-solr/commit/7b5f12e622f10206f3ab3bf9f79b9727c73c6def
>
> Joel Bernstein
> http://joelsolr.blogspot.com/
>
> On Sun, May 1, 2016 at 2:45 PM, Pranaya Behera <pr...@igp.com>
> wrote:
>
>> Hi Joel,
>> If you could point me in the right direction I would like to
>> take shot.
>>
>>
>> On Sunday 01 May 2016 10:38 PM, Joel Bernstein wrote:
>>
>>> This is the type of thing that Streaming Expressions does well, but there
>>> isn't one yet for the suggester. Feel free to add a SuggestStream jira
>>> ticket, it should be very easy to add.
>>>
>>>
>>> Joel Bernstein
>>> http://joelsolr.blogspot.com/
>>>
>>> On Sat, Apr 30, 2016 at 6:30 AM, Pranaya Behera <pr...@igp.com>
>>> wrote:
>>>
>>> Hi,
>>>> I have two collections lets name them as A and B. I want to
>>>> suggester
>>>> to work on both the collection while searching on the front-end
>>>> application.
>>>> In collection A I have 4 different fields. I want to use all of them for
>>>> the suggester. Shall I copy them to a new field of combined of the 4
>>>> fields
>>>> and use it on the spellcheck component and then use that field for the
>>>> suggester?
>>>> In collection B I have only 1 field.
>>>>
>>>> When user searches something in the front-end application, I would like
>>>> to
>>>> show results from the both collections. Is streaming expression would be
>>>> a
>>>> viable option here ? If so, how ? I couldn't find any related document
>>>> for
>>>> the suggester streaming expression. If not, then how would I approach
>>>> this ?
>>>>
>>>>
Re: Streaming expression for suggester
Posted by Joel Bernstein <jo...@gmail.com>.
Sure take a look at the RandomStream. You can copy the basic structure of
it but have it work with the suggester. The link below shows the test cases
as well:
https://github.com/apache/lucene-solr/commit/7b5f12e622f10206f3ab3bf9f79b9727c73c6def
Joel Bernstein
http://joelsolr.blogspot.com/
On Sun, May 1, 2016 at 2:45 PM, Pranaya Behera <pr...@igp.com>
wrote:
> Hi Joel,
> If you could point me in the right direction I would like to
> take shot.
>
>
> On Sunday 01 May 2016 10:38 PM, Joel Bernstein wrote:
>
>> This is the type of thing that Streaming Expressions does well, but there
>> isn't one yet for the suggester. Feel free to add a SuggestStream jira
>> ticket, it should be very easy to add.
>>
>>
>> Joel Bernstein
>> http://joelsolr.blogspot.com/
>>
>> On Sat, Apr 30, 2016 at 6:30 AM, Pranaya Behera <pr...@igp.com>
>> wrote:
>>
>> Hi,
>>> I have two collections lets name them as A and B. I want to
>>> suggester
>>> to work on both the collection while searching on the front-end
>>> application.
>>> In collection A I have 4 different fields. I want to use all of them for
>>> the suggester. Shall I copy them to a new field of combined of the 4
>>> fields
>>> and use it on the spellcheck component and then use that field for the
>>> suggester?
>>> In collection B I have only 1 field.
>>>
>>> When user searches something in the front-end application, I would like
>>> to
>>> show results from the both collections. Is streaming expression would be
>>> a
>>> viable option here ? If so, how ? I couldn't find any related document
>>> for
>>> the suggester streaming expression. If not, then how would I approach
>>> this ?
>>>
>>>
>
Re: Streaming expression for suggester
Posted by Pranaya Behera <pr...@igp.com>.
Hi Joel,
If you could point me in the right direction I would like
to take shot.
On Sunday 01 May 2016 10:38 PM, Joel Bernstein wrote:
> This is the type of thing that Streaming Expressions does well, but there
> isn't one yet for the suggester. Feel free to add a SuggestStream jira
> ticket, it should be very easy to add.
>
>
> Joel Bernstein
> http://joelsolr.blogspot.com/
>
> On Sat, Apr 30, 2016 at 6:30 AM, Pranaya Behera <pr...@igp.com>
> wrote:
>
>> Hi,
>> I have two collections lets name them as A and B. I want to suggester
>> to work on both the collection while searching on the front-end application.
>> In collection A I have 4 different fields. I want to use all of them for
>> the suggester. Shall I copy them to a new field of combined of the 4 fields
>> and use it on the spellcheck component and then use that field for the
>> suggester?
>> In collection B I have only 1 field.
>>
>> When user searches something in the front-end application, I would like to
>> show results from the both collections. Is streaming expression would be a
>> viable option here ? If so, how ? I couldn't find any related document for
>> the suggester streaming expression. If not, then how would I approach this ?
>>