You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Peyman Faratin <pe...@robustlinks.com> on 2013/09/04 19:51:11 UTC
subindex
Hi
Is there a way to build a new (smaller) index from an existing (larger) index where the smaller index contains a subset of the fields of the larger index?
thank you
Re: subindex
Posted by Peyman Faratin <pe...@robustlinks.com>.
Hi Erick
it makes sense. Thank you for this.
peyman
On Sep 5, 2013, at 4:11 PM, Erick Erickson <er...@gmail.com> wrote:
> Nope. You can do this if you've stored _all_ the fields (with the exception
> of
> _version_ and the destinations of copyField directives). But there's no way
> I
> know of to do what you want if you haven't.
>
> If you have, you'd be essentially spinning through all your docs and
> re-indexing
> just the fields you cared about. But if you still have access to your
> original
> docs this would be slower/more complicated than just re-indexing from
> scratch.
>
> Best
> Erick
>
>
> On Wed, Sep 4, 2013 at 1:51 PM, Peyman Faratin <pe...@robustlinks.com>wrote:
>
>> Hi
>>
>> Is there a way to build a new (smaller) index from an existing (larger)
>> index where the smaller index contains a subset of the fields of the larger
>> index?
>>
>> thank you
Re: subindex
Posted by Erick Erickson <er...@gmail.com>.
Nope. You can do this if you've stored _all_ the fields (with the exception
of
_version_ and the destinations of copyField directives). But there's no way
I
know of to do what you want if you haven't.
If you have, you'd be essentially spinning through all your docs and
re-indexing
just the fields you cared about. But if you still have access to your
original
docs this would be slower/more complicated than just re-indexing from
scratch.
Best
Erick
On Wed, Sep 4, 2013 at 1:51 PM, Peyman Faratin <pe...@robustlinks.com>wrote:
> Hi
>
> Is there a way to build a new (smaller) index from an existing (larger)
> index where the smaller index contains a subset of the fields of the larger
> index?
>
> thank you