lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chuck Williams" <ch...@manawiz.com>
Subject RE: Aliasing problem
Date Tue, 26 Oct 2004 17:53:19 GMT
Looks like you produced a PhraseQuery rather than a BooleanQuery.  You
want

+GAME:(doom3 3 doom)

Chuck

  > -----Original Message-----
  > From: Abhay Saswade [mailto:ays@i.frys.com]
  > Sent: Tuesday, October 26, 2004 10:22 AM
  > To: lucene-user@jakarta.apache.org
  > 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: lucene-user-unsubscribe@jakarta.apache.org
  > For additional commands, e-mail: lucene-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org


Mime
View raw message