Re: sort by a copy field error

2015-04-15 Thread Shawn Heisey
On 4/15/2015 2:02 AM, Pedro Figueiredo wrote: > My solr installation is in cloud mode... so the basic solr stop and start > does not update the configuration right? > > I started solr using: > solr -c -Dbootstrap_confdir=C:\solr-5.0.0\server\solr\patientsCollection\conf > -Dcollection.configNam

RE: sort by a copy field error

2015-04-15 Thread Pedro Figueiredo
e.org Subject: Re: sort by a copy field error Really strange to me: the cause should be what Shawn already pointed out, because that error is raised when: SchemaField sf = req.getSchema().getFieldOrNull(field); is null: if (null == sf) { ... throw new SolrExce

Re: sort by a copy field error

2015-04-15 Thread Andrea Gazzarini
ginal Message- From: Andrea Gazzarini [mailto:a.gazzar...@gmail.com] Sent: 14 April 2015 19:47 To: solr-user@lucene.apache.org Subject: Re: sort by a copy field error Hi Pedro Please post the request that produces that error Andrea On 14 Apr 2015 19:33, "Pedro Figueiredo" wrote:

RE: sort by a copy field error

2015-04-15 Thread Pedro Figueiredo
I® is registered in the USPTO by CMU" -Original Message- From: Andrea Gazzarini [mailto:a.gazzar...@gmail.com] Sent: 14 April 2015 19:47 To: solr-user@lucene.apache.org Subject: Re: sort by a copy field error Hi Pedro Please post the request that produces that error Andrea On 14

RE: sort by a copy field error

2015-04-15 Thread Pedro Figueiredo
USA | BRAZIL | MOZAMBIQUE | ANGOLA A CMMI® LEVEL 5 RATED COMPANY CMMI® is registered in the USPTO by CMU" -Original Message- From: Shawn Heisey [mailto:apa...@elyograg.org] Sent: 14 April 2015 19:44 To: solr-user@lucene.apache.org Subject: Re: sort by a copy field error On 4

Re: sort by a copy field error

2015-04-14 Thread Andrea Gazzarini
Hi Pedro Please post the request that produces that error Andrea On 14 Apr 2015 19:33, "Pedro Figueiredo" wrote: > Hello, > > > > I have a pretty basic question: how can I sort by a copyfield? > > > > My schema conf is: > > > > stored="true" omitNorms="true" termVectors="true"/> > > > > > >

Re: sort by a copy field error

2015-04-14 Thread Shawn Heisey
On 4/14/2015 11:32 AM, Pedro Figueiredo wrote: > And when I try to sort by "name_sort" the following error is raised: > > "error": { > > "msg": "sort param field can't be found: name_sort", > > "code": 400 > > } What was the exact sort parameter you sent to Solr? Did you reload the cor