Peter. Thanks for reply.
This code is just sample for question.
Actually, I have index many documents.
And the reason for try this, I want to get statistics of index file.
Thanks and Regards.
2013/10/8 Peter Chang
> Your doc freq is always 1. It's useless.
> I don't know why you try to inde
Thanks very much! Uwe.
I have get right value using NumericUtils.
And as you talk, there were many terms more than I have indexing.
Thanks and Regards.
2013/10/8 Uwe Schindler
> Hi,
>
> Use NumericUtils to convert the BytesRef back to a number:
> http://goo.gl/3KG9Pd
> But be careful, the term
Your doc freq is always 1. It's useless.
I don't know why you try to index and search a binary field except for
range searching.
On Mon, Oct 7, 2013 at 11:23 PM, 장용석 wrote:
> Dear,
>
> I have indexing integer field like this
>
> -
> Document doc = new Document();
> FieldType fieldType = new
Hi,
Use NumericUtils to convert the BytesRef back to a number: http://goo.gl/3KG9Pd
But be careful, the terms index contains more terms with lower precisions (bits
stripped off), unless you use infinite precisionStep!
Uwe
-
Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen
http://www.theta