Thanks, Marius, I'll check it on 5.3 when would be able to add new entry in 
Search Suggest.


Пятница, 22 ноября 2013, 10:03 +02:00 от Marius Dumitru Florea 
<mariusdumitru.flo...@xwiki.com>:
>On Fri, Nov 22, 2013 at 4:16 AM, Dmitry Bakbardin < haru_mamb...@mail.ru > 
>wrote:
>>  Thanks, Marius!
>>
>>
>> Четверг, 21 ноября 2013, 14:14 +02:00 от Marius Dumitru Florea < 
>> mariusdumitru.flo...@xwiki.com >:
>>>On Thu, Nov 21, 2013 at 1:32 PM, Dmitry Bakbardin <  haru_mamb...@mail.ru > 
>>>wrote:
>>>> Thanks a lot, Marius!
>>>>
>>>> 1. I made a new source almost like in Blog search results section.
>>>> 2. On clicking Save. It says, that it is saved.
>>>> 3. I leave the Search suggest page
>>>> 4. I come back to the Search suggest page and my new source is not in the
>>>> list - it is disappeared mysteriously.
>>>>
>>>
>>>> What could be wrong?
>>>
>>> http://jira.xwiki.org/browse/XWIKI-9651 sorry for this..
>> I'd be happy with 5.3 upgrade
>> A bit more documentation will make me happy twice :)
>
>> For example, if I add new source, where and how should I store translations 
>> keys?
>
>There are multiple options. Check out the Localization Module
>documentation,  
>http://extensions.xwiki.org/xwiki/bin/view/Extension/Localization+Module
>. The easiest is to create a Document Translation Bundle with a
>XWiki.TranslationDocumentClass object. This is not different than the
>way you localize an XWiki application.
>
>Hope this helps,
>Marius
>
>>
>>>
>>>>
>>>> Another experiment:
>>>> In Query section I filled following in Blog's source
>>>>
>>>
>>>> objcontent:__INPUT__* AND type:OBJECT AND  class:XWiki.XWikiComments
>>>
>>>I tried with
>>>
>>>type:OBJECT AND class:XWiki.XWikiComments AND objcontent:(__INPUT__*)
>>>
>>>which is basically the same, and it worked. Don't forget that you have
>>>to activate the source. The Blog source is not activated by default.
>>>See the "Activated" checkbox. It didn't work either until Search Suggest 
>>>wasn't turned off, then on. After page reload it starts searching. Is it 
>>>expected behaviour?
>>>
>>>
>>>Hope this helps,
>>>Marius
>>>
>>>>
>>>> It doesn't search in comments after this.
>>>>
>>>> Any suggestions how to make it searching?
>>>>
>>>> Thanks in advance.
>>>>
>>>>
>>>> Понедельник, 11 ноября 2013, 16:03 +02:00 от Marius Dumitru Florea
>>>> <  mariusdumitru.flo...@xwiki.com >:
>>>>
>>>> Comments are stored in objects of type XWiki.XWikiComments so checkout
>>>> the "Blog posts" search suggest source.
>>>>
>>>> Hope this helps,
>>>> Marius
>>>>
>>>> On Mon, Nov 11, 2013 at 3:33 PM, Dmitry Bakbardin <  haru_mamb...@mail.ru >
>>>> wrote:
>>>>> Thank you, Marius!
>>>>>
>>>>> I'll try to guess how to do this.
>>>>>
>>>>>
>>>>> Понедельник, 11 ноября 2013, 9:57 +02:00 от Marius Dumitru Florea
>>>>> <  mariusdumitru.flo...@xwiki.com >:
>>>>>>On Fri, Nov 8, 2013 at 3:21 PM, Dmitry Bakbardin <  haru_mamb...@mail.ru >
>>>>>> wrote:
>>>>>>> Thanks Vincent. Thanks, Thomas!
>>>>>>>
>>>>>>> It was my fault not to be clear enough:
>>>>>>> 1. I comment a page.
>>>>>>> 2. Search via Search page - works fine.
>>>>>>> 3. Search via Search Suggest shows "No results"
>>>>>>>
>>>>>>
>>>>>>> All settings of Search suggest are default. Is it done by purpose to
>>>>>>> skip comments in search suggest?
>>>>>>
>>>>>>The search suggest is a bit different than the default search. I'm
>>>>>>sure you noticed that the search suggest results are grouped in
>>>>>>"categories" such as "Document Names", "Document Content", "Attachment
>>>>>>Content" etc. If you go to the Search Suggest administration section
>>>>>>you'll see that these "categories" are actually sources that provide
>>>>>>results. So the search suggest performs a targeted search (for
>>>>>>specific data like document name) unlike the default search which
>>>>>>searches (almost) everywhere (if no filters are applied).
>>>>>>
>>>>>>You could add a "Comments" search suggest source.
>>>>>>
>>>>>>Hope this helps,
>>>>>>Marius
>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> Пятница, 8 ноября 2013, 9:01 +01:00 от Thomas Mortagne <
>>>>>>>  thomas.morta...@xwiki.com >:
>>>>>>>>On Fri, Nov 8, 2013 at 8:56 AM, Vincent Massol <  vinc...@massol.net >
>>>>>>>> wrote:
>>>>>>>>> On Thu, Nov 7, 2013 at 10:46 PM, Dmitry Bakbardin <
>>>>>>>>>  haru_mamb...@mail.ru >wrote:
>>>>>>>>>
>>>>>>>>>> Hi, All!
>>>>>>>>>>
>>>>>>>>>> Does anyone know how to tweak XWiki to make comments searchable:
>>>>>>>>>> 1. In wiki
>>>>>>>>>> 2. In all sub-wikis and workspaces?
>>>>>>>>>> 3. In some sub-wikis and workspaces?
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Comments are XObjects and as such are searchable. You're probably
>>>>>>>>> searching
>>>>>>>>> only in document content (a pain to understand in the current SOLR UI)
>>>>>>>>
>>>>>>>>XObjects are part of documents entry type in SOLR so no that's not the
>>>>>>>>issue. Only attachments are not.
>>>>>>>>
>>>>>>>>>
>>>>>>>>> Thanks
>>>>>>>>> -Vincent
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> Kind regards,
>>>>>>>>>>
>>>>>>>>>> Dmitry
>>>>>>>>>> _______________________________________________
>>>>>>>>>> users mailing list
>>>>>>>>>>  users@xwiki.org
>>>>>>>>>>  http://lists.xwiki.org/mailman/listinfo/users
>>>>>>>>>>
>>>>>>>>> _______________________________________________
>>>>>>>>> users mailing list
>>>>>>>>>  users@xwiki.org
>>>>>>>>>  http://lists.xwiki.org/mailman/listinfo/users
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>--
>>>>>>>>Thomas Mortagne
>>>>>>>
>>>>>>>
>>>>>>> Kind regards,
>>>>>>>
>>>>>>> Dmitry
>>>>>>> _______________________________________________
>>>>>>> users mailing list
>>>>>>>  users@xwiki.org
>>>>>>>  http://lists.xwiki.org/mailman/listinfo/users
>>>>>
>>>>>
>>>>> Kind regards,
>>>>>
>>>>> Dmitry
>>>>> _______________________________________________
>>>>> users mailing list
>>>>>  users@xwiki.org
>>>>>  http://lists.xwiki.org/mailman/listinfo/users
>>>>
>>>>
>>>>
>>>> Kind regards,
>>>>
>>>> Dmitry
>>
>>
>> Kind regards,
>>
>> Dmitry
>> _______________________________________________
>> users mailing list
>>  users@xwiki.org
>>  http://lists.xwiki.org/mailman/listinfo/users


Kind regards,

Dmitry
_______________________________________________
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to