On Sat, May 3, 2014 at 5:25 PM, Dmitry Bakbardin <[email protected]> wrote:
>  Hi, Michael!
> Your are welcome!
>
> Hi, Marius!
>
> As for this:
> "But should the general look&feel be persistent across different search 
> engines? Just a suggestion, but this would also make a real neat option for 
> the search, sth. like "search while tying", for example."
>
> Marius, as a proposal: in the UI, Search Suggest section search options could 
> be added. E.g.
> - exact match search: __INPUT__
> - prefix search: __INPUT__*
> - prefix and suffix search: *__INPUT__*
> - turn SuggestSearch off

> Is it worth doing?

Yes. Can you create an issue for this, please?

Thanks,
Marius

>
>
> -------- Пересылаемое сообщение --------
> От кого: Michael Bußler <[email protected]>
> Кому: Dmitry Bakbardin <[email protected]>
> Дата: Sat, 3 May 2014 15:39:38 +0200
> Тема: Re: [xwiki-users] Solr search suggestion auto-complete
>
> Thank you, that's exactly what I was looking for!
> About the default behaviour, its the first time I use solr, so I don't know 
> much about its history. But should the general look&feel be persistent across 
> different search engines? Just a suggestion, but this would also make a real 
> neat option for the search, sth. like "search while tying", for example.
> Anyway, thank you so much for the quick response and keep the good work!!
> Michael
> Am 02.05.2014 16:48 schrieb "Dmitry Bakbardin" < [email protected] >:
>> Hi, Michael!
>>
>>The same problem I had. It could be fixed as following:
>>
>>Edit Xwiki.SearchSuggest directly in Object Editor and add one more string to 
>>each search configuration where you need prefix search:
>>q=__INPUT__*
>>
>>E.g. for Blog it would look like this
>>q=__INPUT__*
>>fq=type:DOCUMENT
>>fq=class:Blog.BlogPostClass
>>qf=object.Blog.BlogPostClass
>>
>>Or you can do the same via UI from Search Suggest section in 
>>XWikiPreferences:   
>>http://yourdomain.com/admin/XWiki/XWikiPreferences?editor=globaladmin&section=searchSuggest
>>
>>To make it running, I had to stop and start SolrSuggest (or restart XWiki). 
>>Hope it helps.
>>
>>Marius, looks like, we have one more vote for keeping old behavior in default 
>>Solr Suggest settings.
>>
>>
>>
>>Fri, 2 May 2014 10:05:31 +0200 от Michael Bußler < 
>>[email protected] >:
>>>Hi there,
>>>
>>>I've just moved my wiki to a different Server and upgraded there to XWiki
>>>Enterprise 5.4.4. I've also switched to solr search engine. It's really
>>>awesome work you did there, and I definitively want to use Solr search
>>>because to the much better results page. :)
>>>
>>>But regrettably, I've got an issue with the search suggestion feature to
>>>report: Before upgrading, I used Lucene, which gives me this really nice
>>>feature of searching and making suggestions while I'm typing into the
>>>search-box on the upper right. This doesn't happen anymore with solr
>>>search, as suggestions are only made, if there is a 100% match with the
>>>query somewhere in the doc or attachment.
>>>
>>>It may be because of how the suggestion feature creates queries: With
>>>lucene, the input is always extended by an asterik, like __INPUT__*. So,
>>>I've tried to add an asterik to my incomplete search query for Solr-search,
>>>and it gives me exactly, what I want, except that I have to insert the '*'
>>>always by hand at the end. Then, I've tried to add the asterik somewhere in
>>>the Solr search suggestion query in XWikiPreferences, but didn't manage to
>>>get it right.
>>>
>>>Do you have an idea, or maybe know, how I can get back the old behaviour
>>>with lucene search?
>>>
>>>You can also visit the wikis and try for yourself:
>>>Old page with Lucene-Search:   http://www2.wikiderm.de
>>>New page with Solr-Search:   http://www.wikiderm.de
>>>
>>>For example, try to search for "atop" and see whats happening..
>>>
>>>Best regards,
>>>Michael
>>>_______________________________________________
>>>users mailing list
>>> [email protected]
>>> http://lists.xwiki.org/mailman/listinfo/users
>>
>>
>>Kind regards,
>>
>>Dmitry
>>_______________________________________________
>>users mailing list
>>[email protected]
>>http://lists.xwiki.org/mailman/listinfo/users
>
> ----------------------------------------------------------------------
>
> Kind regards,
>
> Dmitry
> _______________________________________________
> users mailing list
> [email protected]
> http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to