Ah, the old "switch that you shouldn't throw" trick. ;-)
Karl
-Original Message-
From: ext Michael McCandless [mailto:luc...@mikemccandless.com]
Sent: Wednesday, August 18, 2010 2:39 PM
To: dev@lucene.apache.org
Subject: Re: Question about string retrieval with FieldCac
t: Wednesday, August 18, 2010 2:28 PM
> To: dev@lucene.apache.org
> Subject: Re: Question about string retrieval with FieldCache in trunk
>
> Odd... the field is definitely indexed? If you try getTermsIndex are
> they still empty?
>
> Are you just calling .utf8ToString() to g
: dev@lucene.apache.org
Subject: Re: Question about string retrieval with FieldCache in trunk
Odd... the field is definitely indexed? If you try getTermsIndex are
they still empty?
Are you just calling .utf8ToString() to get the String from the BytesRef?
Mike
On Wed, Aug 18, 2010 at 1:18 PM
erm(int docID, BytesRef ret);
>>>
>>> How in the blazes do you create the correct BytesRef in the first place?
>>> Or is the comment wrong?
>>>
>>> Karl
>>>
>>>
>>> -Original Message-
>>> From: ysee...@gmail.com [m
om]
Sent: Wednesday, August 18, 2010 12:43 PM
To: dev@lucene.apache.org
Subject: Re: Question about string retrieval with FieldCache in trunk
Also note that the MIGRATE.txt in the lucene subdir should cover this.
Mike
Sent from my iPad
On Aug 18, 2010, at 11:26 AM, Jason Rutherglen
wrote:
&g
riginal Message-
>> From: ysee...@gmail.com [mailto:ysee...@gmail.com] On Behalf Of ext Yonik
>> Seeley
>> Sent: Wednesday, August 18, 2010 10:55 AM
>> To: dev@lucene.apache.org
>> Subject: Re: Question about string retrieval with FieldCache in trunk
>>
>>
On Wed, Aug 18, 2010 at 12:03 PM, Yonik Seeley
wrote:
> On Wed, Aug 18, 2010 at 11:28 AM, wrote:
>> If you are correct, the comment is certainly incorrect, since it implies
>> that the SAME BytesRef is returned as you pass in.
>
> Yes, that's correct. BytesRef is mutable. You pass in an insta
On Wed, Aug 18, 2010 at 11:28 AM, wrote:
> If you are correct, the comment is certainly incorrect, since it implies that
> the SAME BytesRef is returned as you pass in.
Yes, that's correct. BytesRef is mutable. You pass in an instance,
and the value is set and the same BytesRef is normally re
To: 'dev@lucene.apache.org'
Subject: RE: Question about string retrieval with FieldCache in trunk
If you are correct, the comment is certainly incorrect, since it implies that
the SAME BytesRef is returned as you pass in.
Karl
-Original Message-
From: ext Jason
...@lucidimagination.com
Subject: Re: Question about string retrieval with FieldCache in trunk
Karl,
I believe one may pass an empty BytesRef in, and the values will be
set within the getTerm method.
On Wed, Aug 18, 2010 at 8:18 AM, wrote:
> Exactly. getTerms() returns a DocTerms, which has t
is the comment wrong?
>
> Karl
>
>
> -Original Message-
> From: ysee...@gmail.com [mailto:ysee...@gmail.com] On Behalf Of ext Yonik
> Seeley
> Sent: Wednesday, August 18, 2010 10:55 AM
> To: dev@lucene.apache.org
> Subject: Re: Question about string retrieval with
@lucene.apache.org
Subject: Re: Question about string retrieval with FieldCache in trunk
Check out getTerms and getTermsIndex
-Yonik
http://www.lucidimagination.com
On Wed, Aug 18, 2010 at 10:49 AM, wrote:
> Hi folks,
>
> What is the proper way to retrieve a string field from lucene in tr
Check out getTerms and getTermsIndex
-Yonik
http://www.lucidimagination.com
On Wed, Aug 18, 2010 at 10:49 AM, wrote:
> Hi folks,
>
> What is the proper way to retrieve a string field from lucene in trunk? I’m
> specifically looking for the equivalent of:
>
> String[] fieldValues = FieldCache.D
13 matches
Mail list logo