-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Needs updated: Compatibility with algoliaSearch parameters #389
Comments
Hi @bidoubiwa Are there plans to support We had a similar idea as described in ticket #521.
Thanks for your work and feedback! Let me know if the comment was placed on the wrong issue. I'll happily move it elsewhere (or to the discussion). |
hi @bidoubiwa thanks a lot for creating a new issue and for formulating it as a feature request. If you want to keep this issue clean, feel free to delete my comments. |
Outdated and requires to much maintenance |
Compatibility
All bulletpoints that have been crossed are UI related and do not need to be tested.
Not compatible features list at the end of the issue.
Not compatible parameters start with a ❌.
search
query: The text to search in the index
❗️ Not tested because completely ignored by instantSearch
similarQuery: Overrides the query parameter and performs a more generic search that can be used to find “similar” results.
❗️ Not tested because usefulness is questionable
attributes
✅ attributesToRetrieve: Gives control over which attributes to retrieve and which not to retrieve.
attributesToRetrieve
does not impactattributeToHighlight
❌ restrictSearchableAttributes: Restricts a given query to look in only a subset of your searchable attributes.
This setting overrides searchableAttributes for specific searches, without changing the priority order of the searchableAttributes.
ranking
filtering
✅ filters: Filter the query with numeric, facet and/or tag filters. Add integration and unit tests on filters #393
✅ facetFilters: Filter hits by facet value. Facets tests #400
❌ optionalFilters: Create filters for ranking purposes, where records that match the filter are ranked higher, or lower in the case of a negative optional filter.
✅ numericFilters: Filter on numeric attributes. Add integration and unit tests on filters #393
❌ tagFilters: Filter hits by tags.
❌ sumOrFiltersScores: Determines how to calculate the total score for filtering.
faceting
✅ facets: Facets to retrieve. Facets tests #400
❌ maxValuesPerFacet: Maximum number of facet values to return for each facet during a regular search.
If you want to change the number of retrieved facet hits during a search for facet values, see maxFacetHits.
this is possible using
limit
inrefinement-list
Example:
<ais-refinement-list limit="3" attribute="boardgamecategory" />
❌ facetingAfterDistinct: Force faceting to be applied after de-duplication (via the Distinct setting).
❌ sortFacetValuesBy: Controls how facet values are sorted.
highlighting-snippeting
✅ attributesToHighlight: List of attributes to highlight. Add snippet/highlight/pagination integration tests #408
✅ attributesToSnippet: List of attributes to snippet, with an optional maximum number of words to snippet. Add snippet/highlight/pagination integration tests #408
✅ highlightPreTag: The HTML string to insert before the highlighted parts in all highlight and snippet results. Add snippet/highlight/pagination integration tests #408
✅ highlightPostTag: The HTML string to insert after the highlighted parts in all highlight and snippet results. Add snippet/highlight/pagination integration tests #408
✅ snippetEllipsisText: String used as an ellipsis indicator when a snippet is truncated. Add snippet/highlight/pagination integration tests #408
❌ restrictHighlightAndSnippetArrays: Restrict highlighting and snippeting to items that matched the query.
pagination
✅ page: Specify the page to retrieve. Add snippet/highlight/pagination integration tests #408
✅ hitsPerPage: Set the number of hits per page. Add snippet/highlight/pagination integration tests #408
offset: Specify the offset of the first hit to return.Not used in instantSearchlength: Set the number of hits to retrieve (used only with offset).Not used in instantSearchNot Compatible
See instantSearch documentation after Pagination on this page.
The text was updated successfully, but these errors were encountered: