RE: Querying an exact string match ?

2001-10-31 Thread Doug Cutting

This should work.  You should be able to find an un-tokenized field
containing spaces with a TermQuery.  Nothing should ever tokenize the
string.

Can you please supply a simple, self-contained example showing that this
does not work?

Thanks,

Doug

 -Original Message-
 From: Winton Davies [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, October 31, 2001 1:03 AM
 To: [EMAIL PROTECTED]
 Subject: Querying an exact string match ?
 
 
 Hi,
 
   I have a field which I need to match exactly -- Ideally it 
 shouldn't 
 even be tokenized, but I can't find a way to do that -- adding a 
 field that is indexed but not tokenized, doesn't seem to work -- or 
 at least a Term Query doesn't work.
 
   eg the field is x y z -- and I do a phrase query x y it should 
 not match -- just x y z should match.
  
 Cheers,
   Winton
 
 --
 To unsubscribe, e-mail:   
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: 
 mailto:[EMAIL PROTECTED]
 

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




Re: Tutorial

2001-10-31 Thread Steven J. Owens

 Is anyone else out there creating a tutorial. I would be willing to 
 compile and coordinate all the different parts for the people who want 
 to contribute.

 I wrote something up a few months ago, and posted it to the list.
I've been meaning to get back to it, edit it again, spiff it up a bit,
maybe come up with some updated code for the examples written on my own
time (instead of my employers) so I can publish it, etc.  But right now,
the current draft is at:

http://darksleep.com/puff/lucene.html

Steven J. Owens
[EMAIL PROTECTED]

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