I'm migrating a xwiki from 1.7 to 2.1.1 I've started with a fresh system and have imported the Lucene search pages from the XAR export of 1.7
The statement: #if($lucene) #set($searchresults = $lucene.getSearchResults("${query} $!{reqspace}", $wikinames, $languages, $xwiki)) ... #else #error("Lucene plugin not found. Make sure it's defined in your xwiki.cfg file.") #end seems to deliver a empty $searchresults while the parameters are exactly the same as on the 1.7 instance with exception of the last ${query} = reflux (my search text) $!reqspace = AND web:CdlsatdPublic $wikinames = xwiki $languages = default, en, de $xwiki = com.xpn.xwiki.api.xw...@15dd813 The conclusion the $searchresults is empty is coming from the fact that the code does not enter the foreach #foreach($objFrmLst in $results) .... #end the if(lucene) test seems to exclude that lucene is not working? Help on this is greatly appreciated _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users