How to get Facets data when performing google retail search - flutter

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

Related

Algolia search suggestion like google/amazon

I am working on implement the google/amazon like search using the algolia but using the algolia autocomplete it is not easy. as i would like the user query to save on algolia so when next time same search is done it would show from there.
I am unable to get what you are exactly looking for! So thought to share few reference hoping that this will guide you to get started.
I am working on implement the google/amazon like search using the algolia but using the algolia autocomplete it is not easy
Autocomplete is possible in Algolia. As someone enters a search query, autocomplete starts suggesting completed versions of the phrase to help the user refine their search results.
https://www.algolia.com/doc/guides/building-search-ui/what-is-instantsearch/js/
https://www.algolia.com/doc/guides/building-search-ui/ui-and-ux-patterns/autocomplete/how-to/creating-an-autocomplete-textarea/js/
as i would like the user query to save on algolia so when next time same search is done it would show from there.
This is kind of showing their past searches to make their search experience better.
https://www.algolia.com/doc/guides/solutions/ecommerce/autocomplete/tutorials/recent-searches/

Algolia - how to set anchor in facets

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

google custom search engine control search results

My question is simple, how do I make a certain page be find-able by a specific keyword.
cse it's working fine it just don't manage to find everything he supposed to.
Google custom works like google search, manipulating results may not be possible, however, check out the synonyms tab in google.com/cse.
Say your users search for MBA you can configure it to show results for Master of Business Administration

Best Product Listing Option for Concrete5

I'm going to be creating a Concrete5 website that will feature product listings. The listing system must offer all your typical ecommerce features, minus the ability to purchase items. It's strictly for browsing purposes only.
For example:
- Browse by category
- Search products
- Listings/results page with thumbnails and brief information (title, description, price in US/CAD, manufacturer, maker, etc.)
- Products single page (with detailed information, attributes and gallery/images)
All the things you'd expect to find in a listing system.
My issue is I can't find a specific add-on for something like product listings. This leaves me thinking that it may be best to use the e-commerce add on and do my best to hide anything related to the cart/payment process. That way it could just be used for everything else it offers.
What are your thoughts on this? Is there a better option?
Thanks for the advice!
Use the page list block. It has everything you need except for searching. But, in essence, that's what your requirements call for -- listing of pages.
Create a page type for your "product". The "brief information" can be in the Content block, or you can set as attributes. You'll probably want to make some minor changes to the block's view (by creating a new template) that displays the image as you want, the proper attributes, etc. Something similar to http://www.concrete5.org/documentation/how-tos/designers/styling-the-page-list-block/
There are several adanced page list blocks in the marketplace. You might want to start with those.
Right creat Page type.
After creat Page attributes.
Add a block page_list create a template for it and filter by attributes.
You can even use ajax to filter.
http://www.weblicating.com/doku/doku.php?id=cheatsheet/#.UbR7P0BmiSp
U can find here about page_list or read documentation Concrete5.

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