Hi there,
The built-it LiveSearch macro has a great advantage over the Search macro supplied with Refined theme. Unlike the Refined's Search macro, which only searches inside page titles, attachment names, and label names, the LiveSeach plugin allows you to search inside pages.
This means that whenever the search keyword is found in page title, both macros return a result. However, if the match is found only within the page text, only LiveSearch macro will do. Search macro only searches in titles.
However.
Despite the fact that LiveSearch searches everywhere inlcuding text on pages, the macro seems to be limited to 6 results only. At least I am seeing a limit number of results displayed in the drop-down list that shows when typing in the macro's search field. Full restult list is only shown when choosing Show more results from the drop-down list with seach results.
Is there any way I could configure how many results are returned by LiveSearch in the list before the user needs to open the search page to look for all results?
Thank you,
Hi @Stan Ry
With the Refined Search macro you can also search for page content but it is not the default behavior. I've tried the CQL you've added
(text ~"$query*" or title ~"$query*" or label in ("$query"))
and I do get results. Do you have the "Include title and label search" checkbox checked in the module settings? Make sure that is unchecked as it will add into the CQL query. If you still don't get the results you expect, please contact our support so we can help you out!
Best Regards, Janette [RefinedWiki]
Hi @Janette _Refined ,
Thank you for your response.
I am using the following query to focus on specific space:
(space in (my_atl-space-key_here) AND (text ~"$query*" or title ~"$query*" or label in ("$query")))
And it does NOT give me results for some keywords I am entering. These are in cyrillics.
For example, for a specific keyword LiveSearch returns 4 results whereas Refined Search returns no result.
Configuration settings I am using are as follows:
Placeholder Text: Ask us
Space: empty (unset)
Category: empty (unset)
Site: empty (unset)
CQL: (space in (my_atl-space-key_here) AND (text ~"$query*" or title ~"$query*" or label in ("$query")))
Any clues?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Stan Ry
I've tried to add the exact same same CQL (with one and multiple space keys) and using cyrillic alphabets and I still get expected results. For further troubleshooting it would be great if you created a ticket in our support so we can help you further.
Best regards, Janette
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Stan Ry ,
In short, it does not look like there is a way to display more than the 5 results and the "more" option out of the box.
- Jonathan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Stan Ry ,
You can request new features here: https://jira.atlassian.com/secure/Dashboard.jspa
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for your response.
Any clue on how to configure Search macro to look not only in titles but also within the text on the page?
By default the CQL query specification the macro is using looks like:
(title ~"$query*" or label in ("$query"))
Changing to
(text ~"$query*" or title ~"$query*" or label in ("$query"))
didn't help. Instead, this query has broken the search result at all.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
By default, livesearch macro finds wording on the page.
Example, I KNOW "grayed" is text on this page, but only page titles will display in the top 5 results.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Jonathan Smith sure thing, it does find!
That's why I plan to get rid of Search macro and move to LiveSearch.
I just wanted to ask if you by chance know how to configure Search macro to search on pages. My attempts to configure a CQL query in Search macro have left me with nothing.
LiveSeach does this by default whouth having to reconfigure it further. And the only shortcoming here is that LiveSearch shows only first 6 query results. This causes my users think there are no more results. Yep, unfortunately many of them think that drop-down shows all available results. So they don't follow More results and rather create an inquiry to support team to find "missing" pages :) Or at least some of them think there are missing pages.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sadly you are getting into the development side - which I am not comfortable in :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Jonathan Smith thank your for your support.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.