Consider using the TermsComponent
(http://wiki.apache.org/solr/TermsComponent)
You could get some number of terms from
your field at a time by judicious use of, say,
facet.prefix if you wanted.

But why do you want to do this? It's kind of an
odd requirement, and since you say there are
millions of values this will be expensive....

Best
Erick

On Wed, Apr 11, 2012 at 7:23 AM, a sd <liurx...@gmail.com> wrote:
> The type of content is "solr.string", actually is a sequence of any
> characters,"_",number,etc.
>
> On Wed, Apr 11, 2012 at 7:06 PM, Marcelo Carvalho Fernandes <
> mcf2...@gmail.com> wrote:
>
>> What type of content do you have in this field?
>>
>> ---
>> Marcelo Carvalho Fernandes
>>
>> On Wednesday, April 11, 2012, a sd <liurx...@gmail.com> wrote:
>> > hi,all.
>> >      I want to get all values of a specified field,  this field is type
>> of
>> > "solr.string".
>> >      I can achieve this object by using "facet" feature, but there is a
>> > trouble : it respond me the all values by the default "facet" query. If
>> > there are millions of values with a field ,or more, it is a disaster to
>> > the application.  I thought, was there a way  by which i can account the
>> > amount of values at first, and then i query a segment of values by
>> > specified the "facet.offset" and "facet.limit" iteratively?
>> >     Thanks for your attention.
>> >     B.R.
>> > murphy
>> >
>>
>> --
>> ----
>> Marcelo Carvalho Fernandes
>> +55 21 8272-7970
>> +55 21 2205-2786
>>

Reply via email to