You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by revati joshi <re...@yahoo.com> on 2006/02/16 19:40:03 UTC
updating index
Hi,
i hve tried updating lucene index using Hibernate lifecycle class but not able to get the implementation of this class.
www.hibernate.org - Using Lifecycles and Interceptors to update Lucene searches.htm
The onSave(),onUpdate() method has got the Session parameter which is to passed while invoking it.
i'm not able to get idea about Session parameter.How do i pass Session parameter to it.Since i hve created GUI using java swing n awt components,so how n where do i invoke these methods n Session parameter.
Is it proper if i do with Multithreading concept which will continuously do indexing in the background in order to make updation in indexing.
Plz suggest some solution to this problem as soon as possible.
Thnks for ur cooperation in advance.
with regards,
Revati.
---------------------------------
Yahoo! Mail
Use Photomail to share photos without annoying attachments.
Re: updating index
Posted by Grant Ingersoll <gs...@syr.edu>.
Revati,
This sounds like a Hibernate problem, I suggest you refer to their
documentation and forum.
-Grant
revati joshi wrote:
> Hi,
> i hve tried updating lucene index using Hibernate lifecycle class but not able to get the implementation of this class.
> www.hibernate.org - Using Lifecycles and Interceptors to update Lucene searches.htm
> The onSave(),onUpdate() method has got the Session parameter which is to passed while invoking it.
> i'm not able to get idea about Session parameter.How do i pass Session parameter to it.Since i hve created GUI using java swing n awt components,so how n where do i invoke these methods n Session parameter.
> Is it proper if i do with Multithreading concept which will continuously do indexing in the background in order to make updation in indexing.
> Plz suggest some solution to this problem as soon as possible.
> Thnks for ur cooperation in advance.
> with regards,
> Revati.
>
>
>
> ---------------------------------
> Yahoo! Mail
> Use Photomail to share photos without annoying attachments.
>
--
-------------------------------------------------------------------
Grant Ingersoll
Sr. Software Engineer
Center for Natural Language Processing
Syracuse University
School of Information Studies
335 Hinds Hall
Syracuse, NY 13244
http://www.cnlp.org
Voice: 315-443-5484
Fax: 315-443-6886
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org