Hi,
Well, you have 2 options:
1) when you search for something, simply add -type:attachment (without
quotes) after you search to exclude attachments from your result
2) edit the page Main.LuceneSearch and look for this (along about 2 thirds
of the document):
## ---
## Lucene
## ---
## Lucene search
## ---
#set($extraClause = -type:attachment${extraClause})
#set($searchresults =
$lucene.getSearchResults(+(${query})${extraClause}${hiddenClause}, '',
$wikinames, $!languages))
(Note the extra line that I have added)
Hi
Sorry to bump this but I would really grateful if someone could help me on
this matter
Thanks
--
View this message in context:
http://xwiki.475771.n2.nabble.com/exclude-attachments-from-search-tp7583287p7583301.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Afternoon all,
I was wondering if its at all possible to exclude attachments from showing
up in xwiki search
Thanks
--
View this message in context:
http://xwiki.475771.n2.nabble.com/exclude-attachments-from-search-tp7583287.html
Sent from the XWiki- Users mailing list archive at