Conversation
supportI am able to install the plugin, create an index, and Re-index/Synchronize. When complete there are 4400 Docs in the index according to the OSS GUI. However, when I do a search for a keyword that is in a recent post, the latest post displayed is from 2011. It’s as if not all of my WordPress site was indexed. Any ideas what I might be doing wrong? There are about 12,500 posts in our site and about 325 pages. I have version 1.4.1 of Opensearchserver plugin installed. https://wordpress.org/plugins/opensearchserver-search/
Hi, What message do you get when clicking on button “Re-index/Synchronize”? Page should be loading during indexing, and you should see number of currently indexed docs. You may have some memory limitation preventing the process to terminate. Best regards, Alexandre
Here is what was in the browser when “Re-index/Synchronize” finished running: Completed: 1.53 – Memory usage: 53.657677 Completed: 3.15 – Memory usage: 62.568512 Completed: 4.70 – Memory usage: 72.984894 Completed: 6.22 – Memory usage: 81.260872 Completed: 7.75 – Memory usage: 89.506485 Completed: 9.28 – Memory usage: 97.970383 Completed: 10.81 – Memory usage: 110.621147 Completed: 12.34 – Memory usage: 118.993790 Completed: 13.86 – Memory usage: 127.626297 Completed: 15.39 – Memory usage: 136.347145 Completed: 16.92 – Memory usage: 144.891174 Completed: 18.45 – Memory usage: 153.264183 Completed: 19.98 – Memory usage: 161.523125 Completed: 21.51 – Memory usage: 169.984383 Completed: 23.04 – Memory usage: 186.390099 Completed: 24.57 – Memory usage: 195.286858 Completed: 26.12 – Memory usage: 203.773369 Completed: 27.65 – Memory usage: 212.209618 Completed: 29.17 – Memory usage: 221.783485 Completed: 30.74 – Memory usage: 230.157829 Completed: 32.36 – Memory usage: 238.299019 Completed: 33.88 – Memory usage: 246.537178
Hi, OK, here it clearly shows than indexing was not complete. This is probably due to memory limitation for PHP. Are you able to increase the memory limit settings? Have a look at this page for example: http://docs.woothemes.com/document/increasing-the-wordpress-memory-limit/ . Try with value 512. Otherwise please install last version of the plugin (1.4.2) and try indexing your content by range. For example index your content with ranges 0 to 3000, then 3000 to 6000, 6000 to 9000, 9000 to 12000 and 12000 to 14000. This can easily be done with the input fields above the “Synchronize / Re-index” button. Best regards, Alexandre
That worked great. Thank you so much for help, and I liked your update to the plugin explaining how/when to index with ranges. I would like to play with the query template; is there some documentation for that? Brian
Hi Brian, You can have a look at this page: http://www.opensearchserver.com/documentation/tutorials/functionalities.md , in section “Two kinds of queries / Pattern queries” . OpenSearchServer uses syntax of Lucene: http://lucene.apache.org/core/2_9_4/queryparsersyntax.html Best regards, Alexandre
Thank you very much. The plugin is working very well. Brian
Hi, What message do you get when clicking on button “Re-index/Synchronize”? Page should be loading during indexing, and you should see number of currently indexed docs. You may have some memory limitation preventing the process to terminate. Best regards, Alexandre
Here is what was in the browser when “Re-index/Synchronize” finished running: Completed: 1.53 – Memory usage: 53.657677 Completed: 3.15 – Memory usage: 62.568512 Completed: 4.70 – Memory usage: 72.984894 Completed: 6.22 – Memory usage: 81.260872 Completed: 7.75 – Memory usage: 89.506485 Completed: 9.28 – Memory usage: 97.970383 Completed: 10.81 – Memory usage: 110.621147 Completed: 12.34 – Memory usage: 118.993790 Completed: 13.86 – Memory usage: 127.626297 Completed: 15.39 – Memory usage: 136.347145 Completed: 16.92 – Memory usage: 144.891174 Completed: 18.45 – Memory usage: 153.264183 Completed: 19.98 – Memory usage: 161.523125 Completed: 21.51 – Memory usage: 169.984383 Completed: 23.04 – Memory usage: 186.390099 Completed: 24.57 – Memory usage: 195.286858 Completed: 26.12 – Memory usage: 203.773369 Completed: 27.65 – Memory usage: 212.209618 Completed: 29.17 – Memory usage: 221.783485 Completed: 30.74 – Memory usage: 230.157829 Completed: 32.36 – Memory usage: 238.299019 Completed: 33.88 – Memory usage: 246.537178
Hi, OK, here it clearly shows than indexing was not complete. This is probably due to memory limitation for PHP. Are you able to increase the memory limit settings? Have a look at this page for example: http://docs.woothemes.com/document/increasing-the-wordpress-memory-limit/ . Try with value 512. Otherwise please install last version of the plugin (1.4.2) and try indexing your content by range. For example index your content with ranges 0 to 3000, then 3000 to 6000, 6000 to 9000, 9000 to 12000 and 12000 to 14000. This can easily be done with the input fields above the “Synchronize / Re-index” button. Best regards, Alexandre
That worked great. Thank you so much for help, and I liked your update to the plugin explaining how/when to index with ranges. I would like to play with the query template; is there some documentation for that? Brian
Hi Brian, You can have a look at this page: http://www.opensearchserver.com/documentation/tutorials/functionalities.md , in section “Two kinds of queries / Pattern queries” . OpenSearchServer uses syntax of Lucene: http://lucene.apache.org/core/2_9_4/queryparsersyntax.html Best regards, Alexandre
Thank you very much. The plugin is working very well. Brian