wallmanderco
Forum Replies Created
-
Forum: Plugins
In reply to: [Elasticsearch Indexer] Custom Post Types & Custom FieldsI’ll close this due to lack of response.
Forum: Plugins
In reply to: [Elasticsearch Indexer] Custom Post Types & Custom FieldsSorry, my bad. Its post_meta and not meta_data.
Change that and it should work, however, you are not really sopose to edit the code in the plugin directly. Try adding this to your themes functions.php instead:
function addSynopsisToSearch($vars) { $vars[] = 'post_meta.wpcf-synopsis'; return $vars; } add_filter('esi_search_fields_multi_match', 'addSynopsisToSearch'); add_filter('esi_search_fields_fuzzy', 'addSynopsisToSearch');
Forum: Plugins
In reply to: [Elasticsearch Indexer] Custom Post Types & Custom FieldsThe data is already indexed but not used in search. To add fields to be search take a look at this:
https://github.com/wallmanderco/elasticsearch-indexer/blob/master/src/Model/Query/WpConverter.php#L339-L368There are 2 filters, esi_search_fields_multi_match and esi_search_fields_fuzzy.
Meta data is stored in meta_data.my_field_name.
You should be able to figure the rest out. If not then post here and I’ll assist you further.
If you solved it, then post here and let me know how it went. ??Forum: Plugins
In reply to: [Elasticsearch Indexer] Search & AutocompleteWhen you have activated the plugin and reindexed the site, then the default search will use your Elasticsearch database.
The plugin does not add an autocomplete feature, but you can write your own plugin using this plugin, or you can submit a pull request on github.
Forum: Plugins
In reply to: [Elasticsearch Indexer] Error directionThe elasticsearch query looks as expected. There are a lot of errors in your code. My best guess is that you are not calling the_post() correctly or something. As it is now I can not help you. It also seems like you are using a pagecache, databasecache and css minifier on your development environment and the css seems to be all messed up after you enabled WP_DEBUG. The site is simply to bugy for me to be able to isolate the problem.
Forum: Plugins
In reply to: [Elasticsearch Indexer] Error directionCan you enable WP_DEBUG?
Forum: Plugins
In reply to: [Elasticsearch Indexer] Error directionAnd this doesn’t happen when the plugin is disabled? Can you please enable the profiler in the Indexer Settings panel?
Forum: Plugins
In reply to: [Elasticsearch Indexer] Error directionAre the links in the menu wrong or is it ust that some category archives show a single page instead? Do you have a link?
Forum: Plugins
In reply to: [Elasticsearch Indexer] Search with any parametersI’ll close this issue.
Forum: Plugins
In reply to: [Elasticsearch Indexer] Search with any parametersI don’t understand at all what the problem is.
Forum: Plugins
In reply to: [Elasticsearch Indexer] Error trying to create an indexThe logs directory should be created automatically inside the uploads directory when you activate the plugin. You probably have the wrong permissions set on the uploads directory and ”logs” wasn’t created. Create it manually inside wp-content/uploads/ and make sure php can write to that directory.
Forum: Plugins
In reply to: [Elasticsearch Indexer] "run composer install"?Have you reindexed the site?
Forum: Plugins
In reply to: [Blade] woocommerce integration?Never tested on woocommerce. WooCommerce has its own way of hooking into the wordpress and changing what file should be loaded. It might be fixable by just adding a hook or playing around with the priority of the hooks. Submit a pull request on github if you find a way.
Forum: Reviews
In reply to: [Blade] Plugin says "Just install and use" – yeah rightI just tried this on the latest version of WordPress (4.2.2). Installed, activated, typed
{{__('this is a test','test')}}
into index.php and it works fine.Forum: Plugins
In reply to: [Elasticsearch Indexer] "run composer install"?No, this integrates with WP_Query. All you need to do is install and index and you searches will be full text searches instead of MySQL LIKE queries and you should notice an overall speed boost on the site. But you can do queries/searches against the indexed database if you would like.