Forum Replies Created
-
wpsolrKeymaster4 years, 4 months ago in reply to: deleted items still showing in suggestions #29871
Deactivate Dokan, and delete a product from the WooCommerce dashboard. Do you see the “Deleted from the index” message from WPSOLR?
wpsolrKeymaster4 years, 4 months ago in reply to: deleted items still showing in suggestions #29868Unfortunately, Dokan not being tested with WPSOLR, I cannot answer.
wpsolrKeymaster4 years, 4 months ago in reply to: deleted items still showing in suggestions #29865WPSOLR will not work with Dokan. Only current extensions are supported.
wpsolrKeymaster4 years, 4 months ago in reply to: deleted items still showing in suggestions #29862Additionally, even when a product is deleted or trashed from the dashboard, it does not get removed from the index.
This error appeared after the custom code you just applied?
wpsolrKeymaster4 years, 4 months ago in reply to: deleted items still showing in suggestions #29811WPSOLR removes a post from the index when the WP ‘save_post’ hook is sent, for instance when a post is trashed.
But I just noticed that wp_delete_post() does not send the hook ‘save_post’.
To fix this issue, the hook ‘after_delete_post’ will be added on next WPSOLR release.For now, you could trash the product before deleting it to remove it from the index.
Or change line 116 of file /wpsolr-pro/wpsolr/core/wpsolr_include.inc.php :
add_action( 'save_post', 'add_remove_document_to_solr_index', 999, 3 );with:
add_action( 'save_post', 'add_remove_document_to_solr_index', 999, 3 ); do_action( 'after_delete_post', 'add_remove_document_to_solr_index', 10, 2 );- This reply was modified 4 years, 4 months ago by wpsolr.
wpsolrKeymaster4 years, 4 months ago in reply to: deleted items still showing in suggestions #29809Can you verify in your index that your product is no more there?
wpsolrKeymaster4 years, 4 months ago in reply to: deactivate license for an uninstalled website #29807I just removed the activation from the deinstalled site.
wpsolrKeymaster4 years, 4 months ago in reply to: keywords in text followd by a colon not found with SOLR #29802You also may have noticed that the default analyser is English.
You could update it to Dutch to improve search results:
https://solr.apache.org/guide/solr/latest/indexing-guide/language-analysis.html#dutchwpsolrKeymaster4 years, 4 months ago in reply to: keywords in text followd by a colon not found with SOLR #29799Option “Use partial keyword matches in results” on screen 2.1 is also a possibility.
wpsolrKeymaster4 years, 4 months ago in reply to: keywords in text followd by a colon not found with SOLR #29796Your search is boosting the “title” field, which uses the field type “text_lws”, a light analyser which does not remove stop words.
You could change the type of title from “text_lws”:
<field name="title" type="text_lws" indexed="true" stored="true"/>
to “text”:
<field name="title" type="text" indexed="true" stored="true"/>
Or create a new type and apply it to “title”.
Or you can also not use the boosts.wpsolrKeymaster4 years, 4 months ago in reply to: Add Custom fileds in index #29794Then you select them in screen 2.2, with the option “Index custom fields and categories”, then reindex all your products. You can then search them as the title and description.
wpsolrKeymaster4 years, 4 months ago in reply to: Add Custom fileds in index #29786Select your custom fields on screen 2.2, in the “Product” section. They will be indexed automatically, and you can use them as facets on screen 2.4
wpsolrKeymaster4 years, 4 months ago in reply to: Taxonomy in the url parameters #29784WPSOLR provides 2 SEO add-ons that can generate custom permalinks for the facets. One works with Yoast, one with All In One SEO.
wpsolrKeymaster4 years, 4 months ago in reply to: AWS OpenSearch error – Authorization header requires ‘Credential’ parameter #29782Here is a quick patch pre-release that you can install to fix your connectivity issue with AWS OpenSearch: https://trello.com/c/8BYnZAWl/190-fix-aws-opensearch-connexion
The AWS OpenSearch documentation was also updated.
wpsolrKeymaster4 years, 4 months ago in reply to: Search keyword not working properly #29745Automatic indexing is the default with WPSOLR. Unless you selected “Do no index in real-time” option on screen 2.2