You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by Ishan Chattopadhyaya <ic...@gmail.com> on 2015/12/27 10:31:50 UTC
Term query equivalent in Dimensional fields?
Hi, (Mike?)
I am exploring Dimensional fields and excited about the potential speedups
and improved efficiency.
I have a DimensionalIntField (one dimensional) indexed, and wish to do
something equivalent to a Term query for a particular value. Is the
following the best way?
I want to do: new Term("myfield", "1");
I'm trying: DimensionalRangeQuery.new1DIntRange(fname, 1, true, 1, true);
Thanks,
Ishan
Re: Term query equivalent in Dimensional fields?
Posted by Michael McCandless <lu...@mikemccandless.com>.
On Sun, Dec 27, 2015 at 1:31 AM, Ishan Chattopadhyaya
<ic...@gmail.com> wrote:
> I'm trying: DimensionalRangeQuery.new1DIntRange(fname, 1, true, 1, true);
Yes, that is the best way!
Remember that dimensional values are trunk only (to be Lucene 6.0,
hopefully soonish), and index file format is free to change on trunk
up until 6.0 is released.
And please report back how things go!
Mike McCandless
http://blog.mikemccandless.com
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org