Gabe,
Thanks for the tip. That's more or less how I am doing things now, but
it doesn't seem to boost anything. I guess that if you could do a range
query with a preferred value, the scoring could give things that have
values closer to that preferred value more weight. However, it seems
that th
I don't think you can do this continuously, but this
might be possible to do by setting up "regions" of how
far away the person is. I'm not using real lats and
longs here, but say you want to search within 5 points
of lat=5; long=6. You could set up your search as:
+((lat:[0 TO 10] and long:[1 TO
Peter Veentjer - Anchor Men wrote:
>How can I find all documents with a field (the value doesn`t matter).
>
>I have tried:
>Query query = new TermQuery(new Term(AbstractBaseDoc.FIELD_INDEX_ERROR,""));
>
>
>But this never finds results. The field with name FIELD_INDEX_ERROR has been
>of type U