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
_______________________________________________
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to