Error in indexing

  • manish
    Participant
    2 months, 2 weeks ago #32841

    I’ve having this error on indexing tab:

    Please check your hosting, an exception occured while calling your search server:

    Solr HTTP error: Bad Request (400) { “error”:{ “metadata”:[ “error-class”,”org.apache.solr.common.SolrException”, “root-error-class”,”org.apache.solr.common.SolrException”], “msg”:”org.apache.solr.search.SyntaxError: Query Field ‘description’ is not a valid field name”, “code”:400}}

    Please provide any solution to prevent this.

    Thank you,
    Manish

    wpsolr
    Keymaster
    2 months, 2 weeks ago #32842

    Do you have some custom code?

    manish
    Participant
    2 months, 2 weeks ago #32843

    No

    wpsolr
    Keymaster
    2 months, 2 weeks ago #32844

    ‘description’ is not a field used by WPSOLR.

    Do you see more details in your Solr logs?

    wpsolr
    Keymaster
    2 months, 2 weeks ago #32846

    Please check in your Solr admin, that your index’s schema.xml file is from WPSOLR (it should contain “wpsolr”).

    manish
    Participant
    2 months, 2 weeks ago #32847

    schema.xml contains “wpsolr”

    manish
    Participant
    2 months, 2 weeks ago #32848

    <?xml version=”1.0″ encoding=”UTF-8″ ?>

    <schema name=”wpsolr” version=”1.6″>

    <field name=”id” type=”string” indexed=”true” stored=”true” required=”true” multiValued=”false”/>
    <field name=”_version_” type=”plong” indexed=”false” stored=”false”/>

    <copyField source=”tags” dest=”tagssrch”/>
    <copyField source=”categories” dest=”categoriessrch”/>

    </schema>

    wpsolr
    Keymaster
    2 months, 2 weeks ago #32851
    manish
    Participant
    2 months, 2 weeks ago #32855

    I have created a new index, indexing is not working. Here is the schema.xml
    <?xml version=”1.0″ encoding=”UTF-8″ ?>

    <schema name=”opensolr-crawler-solr9.x” version=”2.0″>

    <!–OPENSOLR WEB CRAWLER FIELDS–>
    <field name=”id” type=”string” indexed=”true” stored=”true” />

    <fieldType name=”tdate” class=”solr.TrieDateField” precisionStep=”6″ positionIncrementGap=”0″/>
    <fieldType name=”ignored” stored=”false” indexed=”false” multiValued=”true” class=”solr.StrField” />

    </schema>

    wpsolr
    Keymaster
    2 months, 2 weeks ago #32856

    The latest schema is from Opensolr, but was not generated by WPSOLR.

    Please follow the guide for Opensolr

Viewing 10 posts - 1 through 10 (of 10 total)

You must be logged in to reply to this topic.