Infinity Search is a powerful and customizable search engine designed to efficiently index and retrieve data. It employs Elasticsearch for seamless search operations and data indexing. For a comprehensive understanding of its inner workings, check out our guide: An In-depth Exploration of Search Engine Operations.
Follow these steps to set up and run Infinity Search:
-
Install the necessary dependencies:
npm install
-
Build the project:
npm run build
-
Start the application:
npm start
Ensure to set the following environment variables in your system:
ELASTIC_USER
: Elastic UserELASTIC_ID
: (Your Elastic ID)ELASTIC_PASSWORD
: (Your Elastic Password)MAIN_INDEX
: Index where your pages are indexed; it must match your crawler's index
To utilize the crawler functionality, follow these steps:
-
Create a
datasets/links.json
file in the root directory of your crawler. -
Add links to be crawled in the following format:
["https://example.com", ...]
-
Install the required dependencies:
npm install
-
Start the crawler:
npm start
Set the following environment variables:
ELASTIC_USER
: (Your Elastic User)ELASTIC_ID
: (Your Elastic ID)ELASTIC_PASSWORD
: (Your Elastic Password)MAIN_INDEX
: Index where your pages are indexedLIMIT
: Amount of links to process (use "*" for infinite)GOOGLE_NOT_INCLUDE
: Exclude Google pages (true or false)ALLOW_LANG
: Process pages only in specific languages (e.g., ["en-US", "en"])
If you're using the Infinity Search extension:
- Replace the iframe link with your own or use mine.
- Load the extension into Chrome.
Infinity Search was created with passion by Rufat.
Feel free to reach out with any questions or suggestions!