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.florea(a)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_mamburu(a)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.florea(a)xwiki.com >:
>>>On Fri, Nov 8, 2013 at 3:21 PM, Dmitry Bakbardin < haru_mamburu(a)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.mortagne(a)xwiki.com >:
>>>>>On Fri, Nov 8, 2013 at 8:56 AM, Vincent Massol <
vincent(a)massol.net >
>>>>> wrote:
>>>>>> On Thu, Nov 7, 2013 at 10:46 PM, Dmitry Bakbardin <
>>>>>> haru_mamburu(a)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(a)xwiki.org
>>>>>>>
http://lists.xwiki.org/mailman/listinfo/users
>>>>>>>
>>>>>> _______________________________________________
>>>>>> users mailing list
>>>>>> users(a)xwiki.org
>>>>>>
http://lists.xwiki.org/mailman/listinfo/users
>>>>>
>>>>>
>>>>>
>>>>>--
>>>>>Thomas Mortagne
>>>>
>>>>
>>>> Kind regards,
>>>>
>>>> Dmitry
>>>> _______________________________________________
>>>> users mailing list
>>>> users(a)xwiki.org
>>>>
http://lists.xwiki.org/mailman/listinfo/users
>>
>>
>> Kind regards,
>>
>> Dmitry
>> _______________________________________________
>> users mailing list
>> users(a)xwiki.org
>>
http://lists.xwiki.org/mailman/listinfo/users
>
>
>
> Kind regards,
>
> Dmitry
Kind regards,
Dmitry
_______________________________________________
users mailing list
users(a)xwiki.org