Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Ola Search Core framework to build Search and Chatbot projects

NotificationsYou must be signed in to change notification settings

OlaSearch/core

Repository files navigation

Ola Search Core is a fully customisable front-end search interface that brings your information collection to life.

npm packagenpm downloadTravisCode stylePeerDependenciesDependenciesDevDependencies

Installation

1. Install olasearch core

npm install @olasearch/core --save

2. Download configurations (If using search engine from Ola Search)

Download the configurations fromhttps://admin.olasearch.com . The configuration files contain settings for the project, filters, snippets, relevancy boosting etc.

  1. Login tohttps://admin.olasearch.com
  2. Navigate to Project -> Settings
  3. Download the configuration files.
  4. Save the file asolasearch.config.js

3. Download OlaSearch starter kit

git clone https://gitlab.com/olasearch/olasearch-project-starter.gitcd olasearch-project-starternpm installcd src# Copy the config file to `src` directorynpm run start

Navigate tohttp://localhost:3003 to see a search interface

More documentation - Coming Soon

Collaboration guidelines

UsesPrettier andPrettier standard for code formatting and linting

Naming convention for Props

Reference -https://dlinau.wordpress.com/2016/02/22/how-to-name-props-for-react-components/

1. Array – use plural nouns. e.g. items2. Number – use prefix num or postfix count, index etc that can imply a number. e.g. numItems, itemCount, itemIndex3. Bool – use prefix is, can, has    1. is: for visual/behavior variations. e.g. isVisible, isEnable, isActive    2. can: fore behavior variations or conditional visual variations. e.g. canToggle, canExpand, canHaveCancelButton    3. has: for toggling UI elements. e.g. hasCancelButton, hasHeader4. Object – use noun. e.g. item5. Node – use prefix node. containerNode6. Element – use prefix element. hoverElement

License

Copyright OlaSearch Pte Ltd 2015 - 2018


[8]ページ先頭

©2009-2025 Movatter.jp