WPSolr and ElasticSearch is NOT Working
- prashant_felixtoolsParticipant5 years, 2 months ago #9932
Hey, Did you get a chance to look into things?
prashant_felixtoolsParticipant5 years, 2 months ago #9934https://drive.google.com/drive/u/0/folders/1EG2wpVPHph4ZDqHljVusOnrHoax53qcC
Shared all the screenshots. Please help me.
prashant_felixtoolsParticipant5 years, 2 months ago #9936Shared in the same folder by the name of
3 Tab Screenshot 1prashant_felixtoolsParticipant5 years, 2 months ago #9938https://felixtools.in/?s=stamped+size+socket&post_type=product
Above is the search URL.Below result is missing:
https://felixtools.in/index.php/product/j07500-10-proto-3-4-drive-10-piece-impact-socket-set-6-point/Also, there is no AutoSuggest – if I turn off Ajax search.
There will not be any AutoSuggest.
wpsolrKeymaster5 years, 2 months ago #9940https://felixtools.in/?s=stamped+size+socket&post_type=product
Above is the search URL.As you can see, the search returned 24 results, but only 3 products are displayed.
Here could be an explanation:
In screen 2.2, you indexed products, posts, and pages. The 24 results contain a mix of posts, pages, and products. But you use a WooCommerce theme, which can only display products. Therefore, on the first page of 9 results, the 3 products are shown, and the other posts/pages are not show. Hence, only 3 products are actually shown in the first page of results.Here is a fix:
– Activate the WPSOLR WooCommerce add-on. The add-on will filter out posts and pages (only products remain) from results. Therefore, your theme will be able to display all results, which now contain only products
– Unselect posts and pages from screen 2.2, empty the index content, and re-index everything. You index will then only contain products.prashant_felixtoolsParticipant5 years, 2 months ago #9944The woo-commerce extension was already active.
Let me check the other thing that you said. I will come back in few minutes.
prashant_felixtoolsParticipant5 years, 2 months ago #9945dosen’t help. still the same.
prashant_felixtoolsParticipant5 years, 2 months ago #9948Added in the same folder by the name of Tab 3 and Woo Commerce Add On.
Plus, how are you sure that the results coming out of search are from ElasticSearch?
wpsolrKeymaster5 years, 2 months ago #9949Looks fine.
Plus, how are you sure that the results coming out of search are from ElasticSearch?
You can deactivate WPSOLR, and see what happens.
Or even better, configure some facets in screen 2.4, add the WPSOLR facets widget to your search page. Facets should appear, and it is only possible if Elasticsearch is sending back the results.
There are not WPSOLR errors in the javascript console.
The topic ‘WPSolr and ElasticSearch is NOT Working’ is closed to new replies.