Algolia - how to set anchor in facets - algolia

I've just implemented search functionality on my site using Algolia instantsearch.js library.
It automatically generates the facets based on result, then the facets work just like filters to search further in the result. I've included Topics related to the products in the facets and what I want is if someone clicks on the topic then instead of filtering the result further it should take to that particular page.
Can someone please tell me how to achieve this?
Thanks,
Raj

Hi Rajnijant we created the relevant issue in our github because this is currently not possible to do what you want to do: https://github.com/algolia/instantsearch.js/issues/791

Related

How to get Facets data when performing google retail search

I am implementing Google Retail AI and its Search service to my flutter application.
I want to let users search by typing keywords in the search bar and then get the first page of results and a whole set of facets, which helps them do further filtering or something else.
For example, if a user types "black" and then searches, there would be nearly hundreds of results. Then the first page of results would be returned to this user and the facets data returned would be used to build as a filter for a user to use, such as select brand for further filtering.
I know how to use facets key and value to perform a facets search, but I do not know how to get the facets data from the initial search to build the facets filter.
enter image description here
The image is above from google retail console, I want to build the same thing in my application.
enter image description here
I thought to get all products first, then use the results with group by to build this filter, but it is against the pagination, and it is absolutely not a good solution.
Does anyone have any ideas or suggestions for retrieving the facets data? L:3, Any idea related to google retail search auto-completion are also welcomed.
After few days of research, I find that the FacetSpec field in the search request is used to get the data to build filter for facet search

How to use pagination for the asset publisher custom application display template in Liferay?

I have created one ADT for asset publisher and here im fetching all the documents from a specific folder ,here my problem is that we want to use existing pagination,we have configured the simple pagination, but still the result not coming properly.so is there any alternate way to use the existing pagination with our custom ADT.
Thanks & Regards,
P.v.B.Raju.
As far as I know, there is no way to paginate in Freemarker by default. For custom pagination, you have to override Liferay's core JSP here, which is very unfortunate. If you've found another solution, please share it here.

Can I search multiple indices using the InstantSearch Library?

My search objects in Algolia contain a field called SOURCE where I store which of our content silos I'm getting the content from.
I've used the InstantSearch library to create a nice search interface that uses the refinementList widget to let the user filter by the source system. This works well enough.
Now I realize that I'd prefer to store each silo in a unique Algolia index, but I still want a single search UI.
I'm not seeing that the instantSearch library supports this. Can it? Can anyone point me to some sample code?
One way to let your users select the source would be to use a sortBySelector which lets you select different indices.
You can find more information about it in the InstantSearch documentation.

Eclipse RCP and using org.eclipse.ui.activities to filter UI

I am leveraging org.eclipse.ui.activities and have been successful thanks to this guide.
However, I am having a problem applying this strategy to CTabItems. These are tabs within a CTabFolder which is in a PageBookView.
I can filter out PageBookView easily because it has a clear ID being set by static String.
I cannot find a way to assign an ID to the CTabItem which I can reference in my 'activityPatternBinding'.
Any advice is most welcome!
Thanks.
PageBookView doesn't support activities. So you cannot filter out the individual pages by using activities. If you have a good use case, raise a bug

Design ideas for multi-select items from a long list

I'm developing a system in which I need to select, from a long list os customers, some to which an specific (batch) action will be executed. For example, I want to select "John", "Peter" and "Steve" and click the "delete" button. No more than 5 customers will be selected.
The problem is that, since there're more than 500 customers, listing all isn't a good option. So far I did an AJAX search that shows just the customers that meet the criteria, but which multiselect way you recommend?
My best idea so far is a below this list in which I could either drag-and-drop the users I want to select or double click them
Any better ideas/examples?
Thanks
I don't know whether you're using jQuery, nor whether your site's design vocabulary is suited to it -- but this jQuery autosuggest plugin is excellent.
+1 for ksr's autosuggest find. I would use this in conjunction with a list box. The user types in the autosuggest input field and when they select an item it adds it to a list box. They can then add additional names via the same method, and submit the list when they've added all the names.
I would go for the pattern used by eBay. They probably did some usability research. You can find more info here: http://quince.infragistics.com/Patterns/Multiple%20Selection%20from%20a%20Large%20List.aspx