could I implement this scenario?

2008-09-19 Thread xh sun
Hi all, How can I implemented this scenario in lucene? suppose every document has three fields: docid, doctext and simdocid. docid is the id of the document, doctext is the content of the document, dimdocid is the docid of a similar document with this document. example: docid  doctext

Re: could I implement this scenario?

2008-09-19 Thread xh sun
: Re: could I implement this scenario? Yes. You can store data in lucene index and don't search on it : your simdocid. M. On Fri, 19 Sep 2008 16:00:20 +0800 (CST), xh sun [EMAIL PROTECTED] wrote: Hi all, How can I implemented this scenario in lucene? suppose every document has three fields

Re: could I implement this scenario?

2008-09-19 Thread xh sun
: mathieu [mailto:[EMAIL PROTECTED] Sent: den 19 september 2008 10:15 To: java-user@lucene.apache.org Subject: Re: could I implement this scenario? Yes. You can store data in lucene index and don't search on it : your simdocid. M. On Fri, 19 Sep 2008 16:00:20 +0800 (CST), xh sun [EMAIL

Re: could I implement this scenario?

2008-09-19 Thread xh sun
Subject: Re: could I implement this scenario? Lucene is just an index. Where do you wont to store your data? in a db, flatfiles, document with an url, in lucene? M. On Fri, 19 Sep 2008 16:25:27 +0800 (CST), xh sun [EMAIL PROTECTED] wrote: Thank you. Mathieu. But the hits don't include

Re: could I implement this scenario?

2008-09-19 Thread xh sun
. You could probably implement this using flat files and lucene. Your simDocId would be stored field which you can retrieve from the index after search, and it could also contain the information where on the disk is document located. -Original Message- From: xh sun [mailto:[EMAIL PROTECTED

Re: failed to open an indexer after about 20 queries

2008-08-05 Thread xh sun
necessary. John G. -Original Message- From: xh sun [mailto:[EMAIL PROTECTED] Sent: Monday, August 04, 2008 8:34 PM To: java-user@lucene.apache.org Subject: failed to open an indexer after about 20 queries Hi, The indexer can't be opened after about 20 queries in linux system

failed to open an indexer after about 20 queries

2008-08-04 Thread xh sun
Hi, The indexer can't be opened after about 20 queries in linux system, but it is fine if the index is in windows  system. The indexer is the same in both systems.   reader = IndexReader.open(indexName);    //failed after about 20 queries   searcher = new IndexSearcher(reader); 

the format of tii file

2007-03-13 Thread xh sun
Hi all, I try to analysis a sample tii file(lucene 2.0.0), IndexTermCount is 2 in the file, but I don't know the meaning of these bytes 00 00 FF FF FF FF 0F 00 00 00 14 after the field SkipInterval. It shall be a TermInfo, IndexDelta according to the file format. Who can help me on this?