Looks like you produced a PhraseQuery rather than a BooleanQuery.  You
want

+GAME:(doom3 3 doom)

Chuck

  > -----Original Message-----
  > From: Abhay Saswade [mailto:[EMAIL PROTECTED]
  > Sent: Tuesday, October 26, 2004 10:22 AM
  > To: [EMAIL PROTECTED]
  > Subject: Aliasing problem
  > 
  > Hi,
  > 
  > One document in my index contains term 'doom 3' (indexed, tokenized,
  > stored)
  > How can I match term doom3 with that document?
  > 
  > I tried following but no luck
  > I have written alias filter which returns 2 more tokens for doom3 as
3
  > and
  > doom
  > 
  > I construct query +GAME:doom3
  > QueryParser returns +GAME:"doom3 3 doom"
  > 
  > I am using StandardTokenizer
  > 
  > Is my approach is correct? Or am I missing something? Any help
highly
  > appreciated.
  > 
  > Thanks in advance,
  > Abhay
  > 
  > 
  > 
  >
---------------------------------------------------------------------
  > To unsubscribe, e-mail: [EMAIL PROTECTED]
  > For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to