lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "장용석" <need4...@gmail.com>
Subject Re: Incremental Indexing.
Date Wed, 10 Sep 2008 01:20:38 GMT
Thanks for your helps.
I have about 400000 documents in my index and it is constant update (price
or name.. etc).
I will try use function delete and add.

And Jason
I am interested in it (actually about lucene),
but I am worried I do not understand core logic all about lucene and I am
not good at english.

I was stuied about just Analyzer. For making Korean Analyzer.

I wonder I can do something nevertheless. :-)

--
Jang.




08. 9. 9, Ian Lea <ian.lea@gmail.com>님이 작성:
>
> Such incremental indexing is standard practice and unlikely to cause a
> problem, particularly if you are only working with a few thousand
> documents.  Instead of delete/add you could use
> IndexWriter.updateDocument().
>
>
> --
> Ian.
>
>
> 2008/9/9 장용석 <need4spd@gmail.com>:
> > Hi~.
> > I hava a question about lucene incremental indexing.
> >
> > I want to do incremental indexing my goods data.
> > For example, I have 4 products datas with
> > "GOOD_ID","NAME","PRICE","CREATEDATE","UPDATEDATE" colunms.
> >
> > 1, ipod, 30000, 2008-11-10:11:00, 2008-11-10:11:00
> > 2, java book, 20000, 2008-11-10:11:00, 2008-11-10:11:00
> > 3, calendar, 10000, 2008-11-10:11:00, 2008-11-10:11:00
> > 4, lucene book, 5000, 2008-11-10:11:00, 2008-11-10:11:00
> >
> > If I will Indexing these datas, they will have a unique docid.
> >
> > And I update one of them that has good_id "1", price colunm 30000 to
> 35000
> > and UPDATEDATE colunm 2008-11-10:11:00 to 2008-11-10:12:00.
> >
> > In this case , I want update my index with new data good_id "1".
> >
> > In book, If I want to update my index then I should delete target data
> from
> > index and add data to index.
> > If the target data is one, I think It is no matter for me, and
> applications.
> > But if the target datas are over 3000 (or more) , this applcations must
> do
> > job delete data and add data each 3000(or more) times.
> > I worried about It will be problem to my applications.
> > Or Is this job no matter?
> >
> > I need your helps.. :-)
> >
> > many thanks.
> > Jang.
> >
> > --
> > DEV용식
> > http://devyongsik.tistory.com
> >
>



-- 
DEV용식
http://devyongsik.tistory.com
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message