Support has been upgraded!
The Support Forum is closed. Not to worry! Providing the top quality support you expect and we're known for will continue! We're not ending support, just changing where you submit requests. This will provide you with the best experience possible.
Premium Support
Have you purchased an addon for Connections such as one of our premium templates or extensions with a valid license and you need help?
Please open a Support Ticket in your user account.
Free Support
Are you using the free Connections plugin? Don't worry, you are still very important to us! We are still providing you with the same high quality support that we're known for.
Please open a new support topic in the WordPress support forums for Connections.
- This topic has 3 replies, 2 voices, and was last updated 3 years, 6 months ago by
Steven Zahm.
-
AuthorPosts
-
11/16/2018 at 6:46 am #477182
Mark
ParticipantHi Steve,
I’m running a search for “apple” but it’s bringing up “app” as well?
Cheers
Mark11/16/2018 at 12:20 pm #477200Steven Zahm
Keymaster@ Mark
Can you please share a link so I can take a look?
Connections uses the same underlying tech to apply searches as WP uses for searching, So search results would be no better or worse than the core WP search.
Things you can do to tweak to get more relevant search results.
Navigate to the Connections Settings admin page and click the Search tab.
- Limit the search fields to the absolute minimum.
- Disable the LIKE option. After you do, do a test search. If you do not get results, then you need to enable the option as the WP install does not support FULLTEXT searching. FULLTEXT will generally return better results sorted by relevance as determined by the database.
Also, search will return results if the term being searched for exists within HTML tags in the bio/nots fields. You can read a more in depth explanation in regards to this in this post to another user. The short version is that this is not a Connections bug or limitation, the same occurs with core WP searches too. The reason is that there is not a way to exclude searching within HTML tags for matched terms.
Hope this helps!
11/18/2018 at 10:57 am #477282Mark
ParticipantThis reply has been marked as private.11/18/2018 at 1:39 pm #477283Steven Zahm
Keymaster@ Mark
You’ll have to give me exact example because I can not see the issue…
I searched for
apple
and I receive 16 results. It appears these are primarily being returned because in each of those entries there is a list and that list has a class name ofApple-dash-list
. As explained in this post to another user, these will be returned as results because there is no method with exluce HTML class names when performed a search in the WordPress database.If you do not want these to be returned as results, you’ll have to edit each entry, switch the Notes field to the Text tab and remove
class="Apple-dash-list"
from the list.Searching for
app
returns no results. This is because the[connections]
shortcode on the page has the category shortcode option set, limiting the results to these categoriescategory="26,45,69,98,275,304,305,306"
.If you do the same search in the admin, you will get 5 results because it is not being limited by category. If you want these same results on the frontend, you will have to remove the category limitation in the shortcode.
Overall, it does appear the search results are correct.
I hope this helps!
-
AuthorPosts
You cannot reply to this support topic. Please open your own support topic.