Skip to content

Latest commit

 

History

History
41 lines (30 loc) · 1.71 KB

README.md

File metadata and controls

41 lines (30 loc) · 1.71 KB

SmartLS (Smart Localsearch)

Welcome to Smart Localsearch application for Windows.

This Application (C#, WPF, Visual Studio) helps to search local documents using Elasticsearch. The application can also take an image as query (an image with text, this text is extracted using Tesseract OCR and is used as query).

Running SmartLS

Setup Elasticsearch

  • Download Elasticsearch
  • Unzip and run bin\elasticsearch.bat.
  • Check your Elasticsearch is up and running.

Setup FSCrawler

  • Download FSCrawler 2.3 SNAPSHOT
  • Setup JAVA_HOME Variable (Java 1.8. or later)
  • In Command prompt reach the \bin directory and create a job by
fscrawler.bat project
  • Open C:\Users\$username$\.fscrawler\project\_settings.json and change "url" : "tmp/es" to
"url" : "C:/Documents",
  • Create a directory Documents in C: drive, and load it with files which you want to index.
  • Again run fscrawler
fscrawler.bat project
  • The FSCrawler will automatically index all the documents in the folder in elasticsearch under "index": "project" and "type": "Doc".
  • By default FSCrawler scans the directory every 15 mins for any changes and updates the index accordingly.

For more info visit FSCrawler.