PayloadNearQuery and AveragePayloadFunction

2012-02-02 Thread shyama
Hi List Apologies for such a long message. I have tried to include everything, that you might need to know to answer my question. I am having difficulties understanding how or what AveragePayloadFunction is doing. Here is my example Title:Human|9 pineal|5 luteinizing hormone receptors. Text:The

RE: lucene-3.0.3

2012-02-02 Thread Prasad KVSH
Hi Everybody, lucene-3.0.3. will handle outlook files, DOCX and .EXLX files while searching a text?? We have taken indexfiles.java and searchfiles.java from lucene-3.0.3\src folder, it is working fine for PDF, txt, doc, excel, java, CSV files. Thanks Prasad

Re: Join between indexes

2012-02-02 Thread Arnon Mazza
Thanks, that's a very nice feature.   Would it also enable joining on the docId level, meaning that part of a document is kept in some index and another part of the same document is kept in another index ?   In the example that was given in the articles  comments link, that could be for

Re: PayloadNearQuery and AveragePayloadFunction

2012-02-02 Thread Peter Keegan
I don't quite follow what you're doing, but is it possible that your payloads are not on the desired terms when you indexed them? The first explanation shows that the matching document contained luteinizing hormone in both fields 'AbstractText' and 'AbstractTitle'. The average payload value was

Re: Why read past EOF

2012-02-02 Thread superruiye
Thanks,you suggest me to creat a my IndexDeletionPolicy,I check KeepOnlyLastCommitDeletionPolicy.onCommit,it invoke CommitPoint.delete(),but it only : deleted = true; commitsToDelete.add(this); ,and the delete index file operation in other place. Is it useful that I postpone invoke

Re: Why read past EOF

2012-02-02 Thread superruiye
eg,I implement IndexDeletionPolicy and the onCommit(): public void onCommit(List? extends IndexCommit commits) { // Note that commits.size() should normally be 2 (if not // called by onInit above): int size = commits.size();