Re: Match best one from list

2008-06-16 Thread JustJoc
hossman wrote: : BESTOF( apple^10, orange^9, pear^8, peach^8, grapes^2 ) : : So ideally in this field we want to find apple, but would accept one of : the other pre-defined alternatives as a match. If the document field : contains apples it scores higher than if it only contains

Match best one from list

2008-06-12 Thread JustJoc
Im new to Lucene (dont they all just say that), and finding it a little daunting. I am trying to find a way to replicate functionality we currently have with our database searching to be able to apply it to documents too. Most of it is just simple matching, but there is one particular part I am