Thnks Marius, just what I was looking for!

BTW, I have a suspect: Possibly it's just a tomcat restart that triggers this 
problem (again and again). I'll have to confirm that yet though.

Cheers,

Olaf




>________________________________
> Von: Marius Dumitru Florea <mariusdumitru.flo...@xwiki.com>
>An: O Voss <richyfourtyth...@yahoo.com>; XWiki Users <users@xwiki.org> 
>Gesendet: 16:24 Mittwoch, 22.Februar 2012
>Betreff: Re: [xwiki-users] custom index
> 
>On Wed, Feb 22, 2012 at 4:25 PM, O Voss <richyfourtyth...@yahoo.com> wrote:
>> Hi,
>>
>> I want to exclude a certain space from showing up in search results at all. 
>> I thought it might be possible to do that using the HQL based filter query 
>> hinted at here: 
>> http://extensions.xwiki.org/xwiki/bin/view/Extension/Search+Application#HSearchAdministration
>>
>> (I thought about something like "not doc.fullName like 'spacename.%'", which 
>> I have used successfully on MyRecentModifications.)
>>
>> Unfortunately the search administration looks a bit different to me, I can't 
>> find HQL filter, all I see is 'Custom index' (or rather 'Benutzerdefiniert 
>> indizieren', since I'm running it in German).
>>
>
>> Where do I define the custom indexing? Am I on the right track at all, or is 
>> there a simpler way? (Be aware, I want to get rid of that space everywhere 
>> in searches, not just on Main.Search. On Main.Search I have done it 
>> successfully already. But the document search within the WYSIWYG editor 
>> seems to work independently from that. So I thought I'd take a more radical 
>> approach by throwing the space out of the index!)
>
>The WYSIWYG content editor uses a custom database search which takes
>into account the list of blacklisted spaces. So if you edit the
>xwikivars.vm Velocity template and add your space(s) to the value of
>the $blacklistedSpaces variable then pages from that space shouldn't
>appear anymore in the search results.
>
>Hope this helps,
>Marius
>
>>
>> Cheers,
>>
>> Olaf
>> _______________________________________________
>> 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