You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
OWASP Nest search/filtering/ranking/sorting is crucial part of the functionality. Finally we're at the point where we understand how it should be implemented.
Describe the solution you'd like
We need to improve the search bar component tackling multiple problems:
search request should go through the backend instead of direct algolia hits (more control, no unwanted interaction)
in-house developed auto-suggestions (again, more control over the behavior, but requires also more work)
text filtering for all entities (some work has been done here)
This is combined into a single task to avoid merge conflicts and any misunderstandings leading to incompatibility and eventually more work.
The text was updated successfully, but these errors were encountered:
@Rajgupta36 I tried to clarify the auto-suggestions part a bit:
Develop an auto-suggestion mechanism that leverages Algolia for ranking suggestions and GraphQL for fetching them on the frontend. The system should dynamically retrieve and return suggestions based on entity types.
Data Indexing & Entity Mapping
Maintain separate Algolia indices for different entity types:
Projects (entity_type: project) → Project names.
Chapters (entity_type: chapter) → Chapter names and locations.
Users (entity_type: user) → User logins and names.
Add a periodic task for new or updated records.
GraphQL API Design
Define a GraphQL query to fetch suggestions from Algolia.
Implement backend resolvers to query Algolia based on input parameters.
Algolia Search Integration
Use Algolia search for real-time suggestions.
Implement ranking rules to prioritize exact matches, followed by partial matches.
Is your feature request related to a problem? Please describe.
OWASP Nest search/filtering/ranking/sorting is crucial part of the functionality. Finally we're at the point where we understand how it should be implemented.
Describe the solution you'd like
We need to improve the search bar component tackling multiple problems:
This is combined into a single task to avoid merge conflicts and any misunderstandings leading to incompatibility and eventually more work.
The text was updated successfully, but these errors were encountered: