Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter localx

    (@localx)

    Are there any settings to turn on the automatic indexing?

    This is not working for me. If I click “Sync” button manually, the updated document will be indexed.

    The update batch is set as 100 documents and I can not change it.

    I copy N paste the “Send your data” screen below:

    A total of 3521 documents are currently in your index “topic”
    12 document(s) remain to be indexed
    The indexing is incremental: only documents updated after the last operation are sent to the index.

    So, the first operation will index all documents, by batches of 100 documents.

    If a timeout occurs, you just have to click on the button again: the process will restart from where it stopped.

    If you need to reindex all again, delete the index first.

    Number of documents sent in Solr as a single commit.
    You can change this number to control indexing’s performance. 100

    Thread Starter localx

    (@localx)

    Figured this out.

    Need to change the following line in wpsolr-schema.php
    //const _FIELD_NAME_CUSTOM_FIELDS = ‘categories’;
    const _FIELD_NAME_CUSTOM_FIELDS = ‘custom_fields’;

    Then define a custom_fields in schema.xml.
    <field name=”custom_fields” type=”string” indexed=”true” stored=”true” multiValued=”true”/>

    It would be good that some one can check in the fix. Hopefully this helps someone with the same issue.

Viewing 2 replies - 1 through 2 (of 2 total)