I guess what I would really like is
"Microsoft Word" NEAR3 "Microsoft Excel"
Where I could combine the phrases together with a NEAR operator.
Usually, at least in my mind I am searching for words or phrases near
other words or phrases, not a set of words
close to each other.
So I like the idea of having
a NEAR8 b
It could be
a NEAR(8) b, but that seems too programmer like and I don't think in
general people get the concept of slop, like the concept of near. So
something like "a b c"NEAR(5) is really cryptic.
Oracle intermedia uses NEAR(a,b,#,directional).
Even more cryptic.
Any other thoughts?
--Peter
On Wednesday, January 16, 2002, at 06:54 PM, Brian Goetz wrote:
>
>> doc.add(Field.Text("path", "d=100&a=102"));
>
> I have, finally, fixed the query parser to define query terms by
> exclusion instead of inclusion. The terms above, as well as the many
> other posted examples, should now work.
>
> A side-effect of this is that special tokens, like && for AND, and ||
> for OR, must be separated from the query terms by spaces: if you want
> a && b, you have to say a && b, not a&&b. I don't think this should be
> a problem.
>
> Next up: NEAR. Everyone wants it, but we're looking for a decent
> syntax, and many of the good punctuation characters have already been
> snapped up (like brackets and braces for range queries.)
>
> We could use
> a NEAR b
> or
> a WITHIN N OF b
> but these both have the problem that they don't generalize well to
> phrases with more than two terms.
>
> Or we could have a (yet another) modifier on the quoted phrase query to
> set the slop --
>
> "Mickey Minnie"(5)
> or
> "Mickey Minnie" SLOP(5)
>
> Lots of possibilities exist, but so far they're all pretty yucky.
> Suggestions?
>
>
>
> --
> Brian Goetz
> Quiotix Corporation
> [EMAIL PROTECTED] Tel: 650-843-1300 Fax:
> 650-324-8032
>
> http://www.quiotix.com
>
>
> --
> To unsubscribe, e-mail: <mailto:lucene-user-
> [EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:lucene-user-
> [EMAIL PROTECTED]>
>
>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>