Title: Solr version 4
Last modified: August 20, 2016

---

# Solr version 4

 *  [Beltran_r](https://wordpress.org/support/users/beltran_r/)
 * (@beltran_r)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/solr-version-4/)
 * Hi,
 * I’m trying to configure Solr for WordPress plugin with Solr 4. It seems that 
   is necessary some changes. I did the following:
 * 1. solr.EnglishPorterFilterFactory is deprecated. I replaced it with “SnowballPorterFilterFactory
   with language=”English”.
 * 2. Disabled transaction log in solrconfig.xml file:
 * <!– <updateLog>
    <str name=”dir”>${solr.data.dir:}</str> </updateLog> –>
 * The connection to Solr is ok but it continues reporting an error with “commit”
   function. It seems it using a deprecated option. Do you know the exact changes
   in the schema file to support Solr version 4?
 * Thanks,
 * Beltran
 * [http://wordpress.org/extend/plugins/solr-for-wordpress/](http://wordpress.org/extend/plugins/solr-for-wordpress/)

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

 *  [dbejean](https://wordpress.org/support/users/dbejean/)
 * (@dbejean)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/solr-version-4/#post-3155604)
 * I think it is an issue with the embedded sorl php client library
    Take a look
   at [http://code.google.com/p/solr-php-client/issues/detail?id=75](http://code.google.com/p/solr-php-client/issues/detail?id=75)
 * Download an use the last source at
    [http://code.google.com/p/solr-php-client/source/checkout](http://code.google.com/p/solr-php-client/source/checkout)
 *  Thread Starter [Beltran_r](https://wordpress.org/support/users/beltran_r/)
 * (@beltran_r)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/solr-version-4/#post-3155606)
 * Thanks! I will try.
 *  [supermango](https://wordpress.org/support/users/supermango/)
 * (@supermango)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/solr-version-4/#post-3155674)
 * Beltran_r,
 * Can you please copy/paste your changes in the files? Were you able to make any
   more progress on this? Thanks!
 *  [ineedagamedesigner](https://wordpress.org/support/users/ineedagamedesigner/)
 * (@ineedagamedesigner)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/solr-version-4/#post-3155684)
 * Add these in your schema.xml where appropriate.
    Updating to latest SolrPhpClient
   fixed the commit issue.
 * 1. <field name=”_version_” type=”long” indexed=”true” stored=”true”/>
    2. Use
   <filter class=”solr.SnowballPorterFilterFactory” language=”English”/> instead
   of <filter class=”solr.EnglishPorterFilterFactory” language=”English”/> 3. Download
   latest SolrPhpClient to the /solr-for-wordpress/ folder under wordpress plugins.

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

The topic ‘Solr version 4’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/solr-for-wordpress.svg)
 * [Solr for WordPress](https://wordpress.org/plugins/solr-for-wordpress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/solr-for-wordpress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/solr-for-wordpress/)
 * [Active Topics](https://wordpress.org/support/plugin/solr-for-wordpress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/solr-for-wordpress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/solr-for-wordpress/reviews/)

 * 4 replies
 * 4 participants
 * Last reply from: [ineedagamedesigner](https://wordpress.org/support/users/ineedagamedesigner/)
 * Last activity: [13 years, 1 month ago](https://wordpress.org/support/topic/solr-version-4/#post-3155684)
 * Status: not resolved