Not exactly suer what you mean but I think you are wanting to change your
schema.xml

<field name="id" type="string" indexed="true" stored="true" required="true"
multiValued="false" />

to

<field name="newvalue" type="string" indexed="true" stored="true"
required="true" multiValued="false" />


restart solr


On 29 April 2016 at 06:04, Markus Jelsma <markus.jel...@openindex.io> wrote:

> Hi - any hints to share?
>
> Thanks!
> Markus
>
>
>
> -----Original message-----
> > From:Markus Jelsma <markus.jel...@openindex.io>
> > Sent: Thursday 28th April 2016 13:30
> > To: solr-user <solr-user@lucene.apache.org>
> > Subject: Set router.field in unit tests
> >
> > Hi - i'm working on a unit test that requires the cluster's router.field
> to be set to a field different than ID. But i can't find it?! How can i set
> router.field with AbstractFullDistribZkTestBase?
> >
> > Thanks!
> > Markus
> >
>

Reply via email to