lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Doe <n1834...@gmail.com>
Subject PointValues wildcard search in 6.0?
Date Fri, 29 Apr 2016 22:58:39 GMT
Wildcard queries don't seem to be working for PointValues in Lucene 6.0 .
For example, "new WildcardQuery(new Term(some_LongPoint_field_name, "*")"
does not find anything. A similar query worked fine with LongFields though.

While PointValues javadocs say "are indexed differently than ordinary text"
they (or https://lucene.apache.org/core/6_0_0/MIGRATE.html) do not mention
wildcard queries at all. Judging from the LongPoint.newXXXQuery API, a wild
card query would be created the same way if it were supported. So does it
mean that there can be no wildcard queries on PointValues fields? If so, is
it a fundamental limitation or something is going to be done about it in
later versions?

It took LUCENE-7223 to explain that to store values one should create a
twin StoredField for every PointValues field. Could something be missing in
the documentation about wildcard queries as well?

Thank you

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message