lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joel Bernstein <joels...@gmail.com>
Subject Re: Streaming expression for suggester
Date Mon, 02 May 2016 02:43:06 GMT
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 <pranaya.behera@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 <pranaya.behera@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 ?
>>>
>>>
>

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