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

Reply via email to