## ---------------
## 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 Eduard,
Thanks a million for this, so far its working how I want.
P.S.: Make sure to check out the new Solr search
(currently in experimental
phase). It has advanced search options and will also feature faceted
search.
I read the release note for this and it does a nice improvement and exactly
what this company I am contracted to work for need, but unfortunately I'm
not willing to implement this until the feature is out of experimental phase
as I am working on a live production server
Thanks again,
Carl J
--
View this message in context:
http://xwiki.475771.n2.nabble.com/exclude-attachments-from-search-tp7583287…
Sent from the XWiki- Users mailing list archive at
Nabble.com.