Hello all, I'm new to the list but want to say great work! ... see comment below

On Nov 24, 2008, at 7:59 AM, Erik Hatcher wrote:


On Nov 24, 2008, at 6:12 AM, Antonio Zippo wrote:
is it possible to have and AND query on a multivalue text?

i need to search something as
myText:billion AND guarantee

i need to be extracted only the record where the words exists in the same value (in this case only the first record) because in the 2nd record the two words are in different values

is it possible?

It's not possible with a purely boolean query like this, but it is possible with a sloppy phrase query where the position increment gap (see example schema.xml) is greater than the slop factor.

        Erik



I think what is needed here is the concept of SAME, i.e., myText:billion SAME guarantee. I know a few full-text engines that can handle this operator one way or another. And without it, I don't quick understand the usefulness of multiValue fields.

David





Reply via email to