That's most probably what happened, because it was few days after a migration from 2.0.3 to 2.2.1 ... ;-)
Thanks, Jeremie 2010/3/5 Thomas Mortagne <[email protected]> > On Fri, Mar 5, 2010 at 18:21, Jeremie BOUSQUET > <[email protected]> wrote: > > Strangely it was up-to-date, because I checked with Lucene Index Toolbox > > (luke) directly on the index. And the LuceneSearch page was saying that > > index was up-to-date. > > > > But after forcing an index update (and waiting a few minutes), now the > > lucenesearch page returns correct results !? > > > > I must have missed something about how it works ... > > The lucene index format changed a little XE 2.1, maybe you did an > upgrade and used had some pre-2.1 documents in the lucene index. > > > > > Jeremie > > > > > > 2010/3/5 Guillaume Lerouge <[email protected]> > > > >> Hi, > >> > >> On Fri, Mar 5, 2010 at 12:28 PM, Jeremie BOUSQUET < > >> [email protected]> wrote: > >> > >> > Hi, > >> > > >> > With XE 2.2.1, I think I have some issues retrieving expected results > >> from > >> > Lucene search, using "object:" term. > >> > > >> > For example, if I want to search for comments containing "test", I > would > >> > enter as search term in Main.LuceneSearch: > >> > > >> > test AND object:XWiki.XWikiComments > >> > > >> > This returns no result in my case. > >> > > >> > But then if I use Luke to browse the Lucene index in > >> > $TOMCAT_HOME/work/Catalina/localhost/xwiki/lucene, I can find at least > 5 > >> > documents for which field "XWiki.XWikiComments.comment" matches with > >> > "test". > >> > I believe that Main.LuceneSearch should return exactly the same > result, > >> and > >> > not an empty set ? > >> > > >> > Another use-case, if my search term is only > "object:XWiki.XWikiComments", > >> > page retrieves only 2 results. There are far more comments in my wiki > of > >> > course ... > >> > > >> > Am I missing something ? > >> > > >> > >> Are you sure your Lucene index is up to date? > >> > >> Guillaume > >> > >> Best regards, > >> > Jeremie > >> > _______________________________________________ > >> > users mailing list > >> > [email protected] > >> > http://lists.xwiki.org/mailman/listinfo/users > >> > > >> > >> > >> > >> -- > >> Guillaume Lerouge > >> Product Manager - XWiki SAS > >> Skype: wikibc > >> Twitter: glerouge > >> http://guillaumelerouge.com/ > >> _______________________________________________ > >> users mailing list > >> [email protected] > >> http://lists.xwiki.org/mailman/listinfo/users > >> > > _______________________________________________ > > users mailing list > > [email protected] > > http://lists.xwiki.org/mailman/listinfo/users > > > > > > -- > Thomas Mortagne > _______________________________________________ > users mailing list > [email protected] > http://lists.xwiki.org/mailman/listinfo/users > _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
