Re: similarity function

2009-11-08 Thread Chris Hostetter
: "how do i set the score of each document result to be the score of that : of the field that best matches the search terms"? you'll want something like this psuedo code... DisjunctionMaxQuery dq = new DMQ foreach fieldname in list_of_fields { BooleanQuery bq = new BQ foreach word in l

Re: similarity function

2009-10-28 Thread Joel Halbert
I suppose this could be summarised as: "how do i set the score of each document result to be the score of that of the field that best matches the search terms"? -Original Message- From: Joel Halbert Reply-To: java-user@lucene.apache.org To: Lucene Users Subject: similarity function Da

Re: similarity function

2009-03-05 Thread patrick o'leary
Sounds like your most difficult part will be the question parser using POS. This is kind of old school but use something like the AliceBot AIML library http://en.wikipedia.org/wiki/AIML Where the subjective terms can be extracted from the questions, and indexed separately. Or as Grant and others

Re: similarity function

2009-03-05 Thread Grant Ingersoll
Hi Seid, Do you have a reference for the article? I've done some QA in my day, but don't recall reading that one. At any rate, I do think it is possible to do what you are after. See below. On Mar 5, 2009, at 9:49 AM, Seid Mohammed wrote: For my work, I have read an article stating th

Re: similarity function

2009-03-05 Thread Vasudevan Comandur
Hi, The very fact that you are trying to answer factoid questions to start with, it is better to use OpenNLP components to identify NER (Named Entity recognition) in the document and use those tags as part of your indexing process. REgards Vasu On Thu, Mar 5, 2009 at 8:19 PM, Seid Mohamm