Someone asked on this topic the same question before. However the answer is not so clear for who does not good knowledge like me. But I found a way.
1. As the plugin author @alexandret mention on that topic, I copied template/opensearchserver_search.php
file to the root of my theme’s folder. I found facet post type value
<?php print opensearchserver_get_facet_value($facet, $value); ?>
and I deleted that.
Search result was like this before:
– page (2)
– blog (5)
– forum (1)
And then changed to this:
– (2)
– (5)
– (1)
2. Why I did this? Because I discovered that, on the search result page, each post type has different label tag. Like this: <label for="type_page"> <label for="type_post">
so on
Now I added some css code to my style.css file:
label[for="type_page"] a.oss-link:before {
content: 'страница';
}
label[for="type_post"] a.oss-link:before {
content: 'Блог';
}
label[for="type_forum"] a.oss-link:before {
content: 'Форум';
}
And now it looks like this
– страница (2)
– Блог (5)
– Форум (1)
This is the way that I found.
Hi,
First off, great open source search solution!
I am just documenting some issues I encountered here in case it helps others
“Enable automatic indexation whenever content is added, edited or deleted.” wont re-index when uploading files to the media manager, only when they are inserted into a published page.
To use wildcard searches, eg. sear*, disable the option:
“Enable escaping of special characters”
I am using plugin version 1.5.10 with OpenSearchServer v1.5.13 – build 2b6dfa4d90
Thanks again for this amazing project.
https://www.ads-software.com/plugins/opensearchserver-search/
]]>when 'DISALLOW_FILE_EDIT'
is enabled (define(‘DISALLOW_FILE_EDIT’, true ) in wp-config.php), the following error is generated on the settings page:
“You do not have sufficient permissions to access this page”
Solution: Change line 29 in file opensearchserver-search/index.php to:
add_submenu_page('plugins.php', 'OpenSearchServer Settings', 'OpenSearchServer', 'manage_options', __FILE__, 'opensearchserver_admin_page');
https://www.ads-software.com/plugins/opensearchserver-search/
]]>For me OpenSearchServer fails for 1 of its basic functions. Crawling is not working as it should. Manual crawling a URL works but when i want to crawl a website it always stop crawling after a few URL’s. Always the same error “waiting for child proccesses to terminate”.
I tried:
– installing OpenSearchServer on Windows 7, Windows Vista and Windows 10 ==> never works…
– i created an instances on their site ==> same problem
– i tried following the instructions step by step (https://www.opensearchserver.com/documentation/tutorials/crawling_a_website.md) ==> doesn’t work
– i asked somebody else to install it and try it ==> same problem
OpenSearchServer is a like a car that can’t drive….to bad.
https://www.ads-software.com/plugins/opensearchserver-search/
]]>When typing text in search box, warning message pops up as below.
( ! ) Warning: CURL failed to execute on URL “/autocompletion?query=%25u8CC7%25u6599%25uFF44&rows=10” in C:\db-project\o2t\db-rsm\4.develop\apache\roomin\wp-content\plugins\opensearchserver-search\lib\oss_abstract.class.php on line 177
https://www.ads-software.com/plugins/opensearchserver-search/
]]>Hello,
I’m running OSS on an Ubuntu 14.04 instance – 8gb of ram, 1gb allocated for php – and this hasn’t gone over 2% usage, 1tb of hard drive, OSS seems to be running fine, I can access it via 9090, create indexes – no problems.
Using this plugin however I was able to get it going – and it indexed 3410 documents – I was trying different size chunks in order to get it that far – out of 79,000+ documents.
Then it just stopped.
I restarted the OSS service, reboot the entire server, reinstalled the plugin, reboot everything again, re-created the index, and it will not index anything further. I changed the settings to start it at 3500-4000, still wouldn’t go.
Then I logged into the admin via 9090, deleted the index. Created a new one, new name, changed the settings in the plugin, told it to index from 1-1000, and it added 1800 docs, 800 in the first seconds, then 1000 more in about 10 minutes. But the index is only 62K in size – not possible for 1800 docs ??
Not sure what else to try at this point – any suggestions?
Thanks!
Rob
https://www.ads-software.com/plugins/opensearchserver-search/
]]>Hello,
As you can guess after reading the post title, i m facing a new problem with OSS.
actually the auto complete zone doesn’t appear in IE 8 when i write letters for search.
is it a compatibility problem of OSS plugin and IE 8?
regards,
https://www.ads-software.com/plugins/opensearchserver-search/
]]>Hello,
I am getting this worning shown in OSS plugin after indexing posts and attachments:
‘Warning: implode() [function.implode]: Invalid arguments passed in C:\wp_root\wp-content\plugins\opensearchserver-search\opensearchserver_admin.php on line 495′
I want to mention that oss plugin shows me indextion status:
Completed: 100.00 % (316/316)- Memory usage: 80.064407
Re indexing has been finished successfully .
normally i find 316 documents in my index but actually i have 193 documents.
yours,
https://www.ads-software.com/plugins/opensearchserver-search/
]]>Hello Alexandre,
i want to know if there is any way to prevent OSS WP plugin from indexing image’s name attached .
for example: i have images, pdf, xls … i want oss to index all attachment (including content) except image’s name.
is that possible please
https://www.ads-software.com/plugins/opensearchserver-search/
]]>Hello,
how can i make OSS index pdf content attached to my pages?
i created the index (then index is created)
i checked the attachment option in index settings
i clicked on synchronize/ Re-index
in advanced settings, the search only mode is not checked but nothing appears while searching!
any help please
https://www.ads-software.com/plugins/opensearchserver-search/
]]>After about two hours of chasing the infamous Apache 500 error while trying up update a page, and finding that the error was “Premature end of script headers: post.php”, I decided to disable all my plugins and re enable them one at a time.
It turned out to be this plugin. I can enable the other five plugins and all works well, but when I enable the OpenSearchServer plugin, I start getting the above error again. I can then disable all BUT the OpenSearchServer plugin and the error is there.
Any ideas?
https://www.ads-software.com/plugins/opensearchserver-search/
]]>I 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://www.ads-software.com/plugins/opensearchserver-search/
]]>Is there any way to translate or modify the way OSS show the post type on the search result page?
I try to find a way to change post type like “post” to “Blogue”
https://www.ads-software.com/plugins/opensearchserver-search/
]]>You should add the labels into the localization file…
Currently in the opensearchserver_search_functions.php file the labels title are hard coded instead of declaring it into the localization file ex.:
_e('Next', 'opensearchserver');
These are the only 4 strings hardcoded: First, Previous, Next, Last.
https://www.ads-software.com/plugins/opensearchserver-search/
]]>Hi,
I am no longer able to login to the Opensearchserver settings from the WP plugin. I get the error “You do not have sufficient permissions to access this page.”
I have just upgraded my Opensearchserver to the latest version and wanted to update the settings in the WP plugin. Alas! I am now unable to do it.
Could the permissions problem be related to the fact that I have a new installation of Opensearchserver? I have tried deactivating the WP plugin and even reinstalling it, ut I still get the permissions issue.
Any help please.
https://www.ads-software.com/plugins/opensearchserver-search/
]]>Will this search PDF files too and Can I set it up so it ONLY searches in one directory of the site?
https://www.ads-software.com/plugins/opensearchserver-search/
]]>I have installed both the plug-in and the OSS server. I am able to enter the creds and the APi key with no problem. However when I try ti submit the index via the plug-in to OSS it does not appear. I have watched all the videos and read all the documentation but they do not match the current version of the plug-in. Please help. Thank you.
https://www.ads-software.com/plugins/opensearchserver-search/
]]>Hello, We are using WordPress to store documentation and shift notes for a business. I very much like this plugin and was wondering if there is a way to add a creation month and year to the facet list?
Thanks you,
Brian
https://www.ads-software.com/plugins/opensearchserver-search/
]]>Hi,
I use DirectoryPress templates and i can’t display custom fields.
How can i do this ?
Thanks
https://www.ads-software.com/extend/plugins/opensearchserver-search/
]]>Hi,
I’ve installed this plugin, together with the qtranslate plugin to create a bi-lingual website (dutch/french).
search works, but only for dutch posts. french posts do not show up in the search results.
Also, the auto completion only works in the search page, and not in the search field in the home page, is this normal ?
regards,
Tom
https://www.ads-software.com/extend/plugins/opensearchserver-search/
]]>May I know whether the current version supports PDF indexing?
Thanks!
https://www.ads-software.com/extend/plugins/opensearchserver-search/
]]>Warning: CURL failed to execute on URL “/schema?cmd=indexList” in /home/candg/public_html/wp-content/plugins/opensearchserver-search/lib/oss_abstract.class.php on line 169
Warning: Invalid argument supplied for foreach() in /home/candg/public_html/wp-content/plugins/opensearchserver-search/lib/oss_schema.class.php on line 52
Warning: CURL failed to execute on URL “/schema?index.name=&cmd=createIndex” in /home/candg/public_html/wp-content/plugins/opensearchserver-search/lib/oss_abstract.class.php on line 169
Warning: CURL failed to execute on URL “/schema?cmd=getSchema” in /home/candg/public_html/wp-content/plugins/opensearchserver-search/lib/oss_abstract.class.php on line 169
Fatal error: Call to a member function xpath() on a non-object in /home/candg/public_html/wp-content/plugins/opensearchserver-search/opensearchserver_admin.php on line 44
https://www.ads-software.com/extend/plugins/opensearchserver-search/
]]>Hi,
I’ve followed the instructions to configure the OpenSearchServer Search plugin.
I can confirm that there are documents in the index and the autocomplete is working in the search box, but no results are returned.
I’m seeing the following error in my log:
PHP Warning: OSS Returned an error: “Error com.jaeksoft.searchlib.web.ServletException: com.jaeksoft.searchlib.SearchLibException: No request found
com.jaeksoft.searchlib.web.ServletException: com.jaeksoft.searchlib.SearchLibException: No request found
at com.jaeksoft.searchlib.web.SelectServlet.doRequest(SelectServlet.java:64)
at com.jaeksoft.searchlib.web.AbstractServlet.doRequest(AbstractServlet.java:93)
at com.jaeksoft.searchlib.web.AbstractServlet.doGet(AbstractServlet.java:150)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
at org.apache.catalina.authenticator.Authe in ../wp-content/plugins/opensearchserver-search/lib/oss_abstract.class.php on line 189
Any assistance into the issue would be appreciated.
Thank you
https://www.ads-software.com/extend/plugins/opensearchserver-search/
]]>When trying to index my site I get this warning, what is wrong??
Warning: CURL failed to execute on URL “/schema?cmd=indexList” in /customers/4/b/5/annualreporting.info/httpd.www/wp-content/plugins/opensearchserver-search/lib/oss_abstract.class.php on line 169 Warning: Invalid argument supplied for foreach() in /customers/4/b/5/annualreporting.info/httpd.www/wp-content/plugins/opensearchserver-search/lib/oss_schema.class.php on line 52 Warning: CURL failed to execute on URL “/schema?index.name=&cmd=createIndex” in /customers/4/b/5/annualreporting.info/httpd.www/wp-content/plugins/opensearchserver-search/lib/oss_abstract.class.php on line 169 Warning: CURL failed to execute on URL “/schema?cmd=getSchema” in /customers/4/b/5/annualreporting.info/httpd.www/wp-content/plugins/opensearchserver-search/lib/oss_abstract.class.php on line 169 Fatal error: Call to a member function xpath() on a non-object in /customers/4/b/5/annualreporting.info/httpd.www/wp-content/plugins/opensearchserver-search/opensearchserver_admin.php on line 44
https://www.ads-software.com/extend/plugins/opensearchserver-search/
]]>I am trying to setup this plugin and when I click create index it loads the admin page but the content is blank.
Can some one help me fix this?
https://www.ads-software.com/extend/plugins/opensearchserver-search/
]]>Hi M. Keller,
Opensearch server is really a good product! Thanks to make it open source!
I have a problem after upgrade to version 1.1.2 i can’t change any settings!
Any idea?
Thanks a lot
https://www.ads-software.com/extend/plugins/opensearchserver-search/
]]>Hi,
I’ve got a white page after clic “create index”, and nothink is indexed.
(sorry for my english)
https://www.ads-software.com/extend/plugins/opensearchserver-search/
]]>I get an error when I install opensearchserver:
Fatal error: OSS_API won’t work whitout curl extension in C:\xampp\htdocs\wordpress\wp-content\plugins\opensearchserver-search\OSS_API.class.php on line 23
https://www.ads-software.com/extend/plugins/opensearchserver-search/
]]>