> Yes I copied It from Elephant. and I got that in schedular.xml , a task
> 
> <task classname="com.uwyn.rife.search.executors.IndexQueueExecutor"
> frequency="*/5 * * * *"/>
> 
> is this frequency is same format as in linux crontab ?
> 
> can you suggest me If I want to use this task to create Lucene Index, then
> what entries this
>  table should contain?

Naren, you should be aware that RIFE/Search is not actually released
yet. It needs a testsuite and javadocs.

You need to install the index queue DB structure, like this IIRC:
IndexQueue queue = IndexQueueFactory.getInstance(datasource);
queue.create();

Afterwards you schedule documents that should be indexed with:
queue.saveDocument(indexName, document)

The rest happens through the SearchTool class and for the searching
itself you should use the Lucene classes you obtain from it. RIFE/Search
mainly provides you with a DB structure to queue the indexing itself and
handy wrappers to obtain the readers and the writers.

Hope this help,

Geert

-- 
Geert Bevin                       Uwyn bvba
"Use what you need"               Avenue de Scailmont 34
http://www.uwyn.com               7170 Manage, Belgium
gbevin[remove] at uwyn dot com    Tel +32 64 84 80 03

PGP Fingerprint : 4E21 6399 CD9E A384 6619  719A C8F4 D40D 309F D6A9
Public PGP key  : available at servers pgp.mit.edu, wwwkeys.pgp.net
_______________________________________________
Rife-users mailing list
[email protected]
http://lists.uwyn.com/mailman/listinfo/rife-users

Reply via email to