List Info

Thread: Lucene: How to check index from Java?




Lucene: How to check index from Java?
user name
2006-07-27 08:52:39
Andreas Hartmann wrote:
> Hi Lenya devs,
> 
> I'm currently writing a test which checks if the index
has been
> updated when a document was changed.
> 
> How can I do this from Java (do a search, or check the
index for
> a certain document)?

I guess the easiest way is to issue a search:

   cocoon://modules/lucene/search.xml?queryString=...

I'll try this and ask again if it doesn't work.

-- Andreas

-- 
Andreas Hartmann
Wyona Inc.  -   Open Source Content Management   -   Apache
Lenya
http://www.wyona.com     
                http://lenya.apache.org
andreas.hartmannwyona.com                     andreasapache.org


------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribelenya.apache.org
For additional commands, e-mail: dev-helplenya.apache.org

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )