Re: [Lucene-users] Acronym Search

2001-09-25 Thread Dave Kor
> I tried adding the initial letter of each word to a > new document field (per > Anders Nielsen's suggestion), and it worked well; > however, I need to be able > to know which phrases produced the match. It seems > to me (although I may be > overlooking something) that now I only have access

RE: [Lucene-users] Acronym Search

2001-09-25 Thread Doug Cutting
> From: Lex Lawrence [mailto:[EMAIL PROTECTED]] > > I tried adding the initial letter of each word to a new > document field (per Anders Nielsen's suggestion), and it > worked well; however, I need to be able to know which > phrases produced the match. It seems to me (although I > may be overloo

Re: [Lucene-users] Acronym Search

2001-09-25 Thread Lex Lawrence
. If I search for 'POS' I can determine which documents contain matches, but I can't tell which document contains "point of sale" and which contains "part of speech". Regards- Lex >From: Dave Kor <[EMAIL PROTECTED]> >To: Lex Lawrence <[EMAIL PROT

RE: [Lucene-users] Acronym Search

2001-09-24 Thread Anders Nielsen
Another way to do this would be to make a seperate field to keep the acronym data, and then implement an AcronymFilter that only stored the first letter of each word in the acronym field, and if you then use the TermQuery to query for "P O S" in that field would give all documents that had words b