karl wettin wrote:

27 apr 2007 kl. 14.11 skrev Erik Hatcher:


On Apr 27, 2007, at 6:39 AM, karl wettin wrote:
27 apr 2007 kl. 12.36 skrev Erik Hatcher:

Unless someone has some other tricks I'm not aware of, that is.

I guess it would be possible to add start/stop-tokens such as ^ and $ to the indexed text: "^ the $" and place a phrase query with 0 slop.

True true.   That'd work too.

Thanks for the replies and discussion.

I think I didn't express my problems correctly.  The problem is I want to
find documents containing only the "the" token in the title field, but not
necessarily with only one appearance.  For example, if the query is "the",
I want to find documents whose title is "the", "the the" or "the the the".

I am not sure whether the start/stop-tokens and indexing the whole field as keyword will help, it seems not. Sorry if I misled you. But from what is discussed, it seems there is no easy way. I think this is just a corner case for myself now, since nobody seems to find this a problem. But if you still have interest in solving
this problem, I will be very glad. :)





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

Reply via email to