I was just playing around with Solr (from scratch). This helped me solve
the problem:

*D:\Deepak\Solr\solr-8.11.3\bin\solr config -c deepak -p 9000 -action
set-user-property -property update.autoCreateFields -value false*



Deepak
"The greatness of a nation can be judged by the way its animals are treated
- Mahatma Gandhi"

+91 73500 12833
deic...@gmail.com

LinkedIn: www.linkedin.com/in/deicool

"Plant a Tree, Go Green"

Make In India : http://www.makeinindia.com/home


On Wed, Jul 31, 2024 at 11:26 PM Rahul Goswami <rahul196...@gmail.com>
wrote:

> Can you please provide a full stacktrace of the exception. My hunch is this
> is a ClassNotFoundException, but need to be sure.
>
> The typical class for "integer" type in Solr is "solr.IntPointField" (not
> "solr.IntField" which you are getting an exception for). Try that and the
> error should go away.
>
> I do see an IntField class in the contrib section of Solr code, but it
> doesn't seem to be a "FieldType" as such. So in all likelihood this seems
> to be a mistake in the schema. Was this schema created from scratch ?
>
> -Rahul
>
> On Wed, Jul 31, 2024 at 5:28 AM Deepak Goel <deic...@gmail.com> wrote:
>
> > Hello
> >
> > I am getting the following error when I create a new core in
> Solr-Windows.
> > Any help would be appreciated, thank you.
> >
> >
> >    - *new_core:*
> >
> org.apache.solr.common.SolrException:org.apache.solr.common.SolrException:
> >    Could not load conf for core new_core: Can't load schema
> >    D:\Deepak\Solr\solr-8.11.3\server\solr\new_core\schema.xml: Plugin
> init
> >    failure for [schema.xml] fieldType "integer": Error loading class
> >    'solr.IntField'
> >
> >
> >
> > Deepak
> > "The greatness of a nation can be judged by the way its animals are
> treated
> > - Mahatma Gandhi"
> >
> > +91 73500 12833
> > deic...@gmail.com
> >
> > LinkedIn: www.linkedin.com/in/deicool
> >
> > "Plant a Tree, Go Green"
> >
> > Make In India : http://www.makeinindia.com/home
> >
>

Reply via email to