• Resolved trident60

    (@trident60)


    I though I would try again with this new release.

    I created a brand new VM. Installed Solr 5.2, created the index, and so on. Solr is running fine, no errors at all.

    I installed WPSolr 3.2. Configured it, it sees the index, I uploaded the schema and slrconfig files from your site, tried to index – no attachments – and it says there are “0 documents in the index and 0 documents remain to be indexed”.

    And there are 84,000 posts on my site.

    https://www.ads-software.com/plugins/wpsolr-search-engine/

Viewing 11 replies - 16 through 26 (of 26 total)
  • Plugin Author WPSolr free

    (@wpsolr)

    My tests are mostly done on Mac/Chrome, it should work.

    Did you click on “Synchronize WordPress with my Solr index” ?

    This should display debug infos.

    Thread Starter trident60

    (@trident60)

    For some reason it wasn’t working in Safari…but I tried it on Chrome, on the Mac, and here are the debug results:

    ******** DEBUG ACTIVATED - Beginning of new loop (batch size) *******
    
    ******** DEBUG ACTIVATED - Query documents from last post date *******
    
    Query:
    SELECT ID, post_modified, post_parent, post_type FROM wp_posts WHERE post_modified > %s AND ( post_status='publish' AND ( post_type='post' ) ) ORDER BY post_modified ASC LIMIT 100 
    
    Last post date:
    2015-06-11 22:59:28
    
    ******** DEBUG ACTIVATED - No more documents, end of document loop *******
    Plugin Author WPSolr free

    (@wpsolr)

    Ok, then now delete your index data, and redo it (on chrome)

    Thread Starter trident60

    (@trident60)

    Okay – I emptied the index and it now shows all the docs to be indexed….so I will do that now – that’s going to take some time.

    Thanks!

    Plugin Author WPSolr free

    (@wpsolr)

    Tell me when it’s finished.

    I’m checking the safari issue.

    Thread Starter trident60

    (@trident60)

    It’s actually indexing MUCH faster than the other versions…at 3000 already….80K more to go. I’ll give you the update when it’s complete.

    Plugin Author WPSolr free

    (@wpsolr)

    You can play with the batch size to go faster.

    The more, the faster. But it can trigger SOlr errors if too big.

    Thread Starter trident60

    (@trident60)

    It completed.

    Now, when I do a search, I get no results!

    Don’t you love giving away stuff? LOL

    Thread Starter trident60

    (@trident60)

    healthit1.cloudapp.net is the test site – FYI.

    Plugin Author WPSolr free

    (@wpsolr)

    The autocomplete works.

    Strange.

    Thread Starter trident60

    (@trident60)

    Yes, very. I do have Solr and WPSolr running on my production site – but the only facets that work are “tags” – and that is the current WPSolr and Solr 5.0.

    Healthitlink.com

Viewing 11 replies - 16 through 26 (of 26 total)
  • The topic ‘0 documents in index and 0 remain to be indexed’ is closed to new replies.