From: Marco T. <tu...@di...> - 2006-02-03 19:34:02
|
Hi Ben, I've to store the documents on Lucene, and at the same time, I've to get the same documents in the following format: "The house is white and the" "1 2 3 4 5 1" where 1 is the id of "The", 2 is the id of "house" and so on.... Can I do that using only cLucene? Thanks a lot Marco >Hi, > >I dont fully understand. Do you mean you want to get the term ids of >the documents contents? If that is the case, then i think you have to >do something with proximities and the term enum, i think... look at >the luke project, it has a nice way of reconstructing document >contents of unstored fields. i dont have the code in front of me right >now, if you still have trouble, send me another email and i will look >closer for you > >ben > >On 2/3/06, Marco Turchi <tu...@di...> wrote: > > >>Hi, >>I'm using cLucene, and now I've a new problem to solve. >>I need to transform a document from a sequence of words to a sequence of >>numerical ids. >>Is it possible with clucene? >>Can I find inside clucene this document representation or is there a >>position in the clucene's pipeline where I can pick up it? >> >>thanks a lot >> >>MArco >> >> >>------------------------------------------------------- >>This SF.net email is sponsored by: Splunk Inc. Do you grep through log files >>for problems? Stop! Download the new AJAX search engine that makes >>searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! >>http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 >>_______________________________________________ >>CLucene-developers mailing list >>CLu...@li... >>https://lists.sourceforge.net/lists/listinfo/clucene-developers >> >> >> > > >------------------------------------------------------- >This SF.net email is sponsored by: Splunk Inc. Do you grep through log files >for problems? Stop! Download the new AJAX search engine that makes >searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! >http://sel.as-us.falkag.net/sel?cmd=k&kid3432&bid#0486&dat1642 >_______________________________________________ >CLucene-developers mailing list >CLu...@li... >https://lists.sourceforge.net/lists/listinfo/clucene-developers > > > > |