Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Lucene: Java-User
could I implement this scenario?
 

Index | Next | Previous | View Flat


wysunxiaohua at yahoo

Sep 19, 2008, 1:00 AM


Views: 835
Permalink
could I implement this scenario?

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                    simdocid
doc01  ************************   doc04
doc02  ************************   doc03
doc03  ************************   doc02
doc04  ************************   doc03
doc05  ************************   doc04
doc06  ************************   doc02

During query, the index will be searched basing on field doctext. If the hits include four documents doc01,doc03,doc04, doc05, I want to display the corresponding similar documents only, that is, the three documents doc04,doc02,doc03.

Appreicate your help very much.

BR,
Shawn

Subject User Time
could I implement this scenario? wysunxiaohua at yahoo Sep 19, 2008, 1:00 AM
    Re: could I implement this scenario? mathieu at garambrogne Sep 19, 2008, 1:14 AM
        RE: could I implement this scenario? jimi.hullegard at mogul Sep 19, 2008, 1:20 AM
    Re: could I implement this scenario? wysunxiaohua at yahoo Sep 19, 2008, 1:25 AM
        Re: could I implement this scenario? mathieu at garambrogne Sep 19, 2008, 1:34 AM
    Re: could I implement this scenario? wysunxiaohua at yahoo Sep 19, 2008, 1:27 AM
    Re: could I implement this scenario? wysunxiaohua at yahoo Sep 19, 2008, 1:43 AM
        RE: could I implement this scenario? Dragan.Jotanovic at DIOSPHERE Sep 19, 2008, 1:58 AM
    Re: could I implement this scenario? wysunxiaohua at yahoo Sep 19, 2008, 2:10 AM
    Re: could I implement this scenario? glen.newton at gmail Sep 19, 2008, 6:34 AM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.