All Projects → o19s → Relevant Search Book

o19s / Relevant Search Book

Code and Examples for Relevant Search

Projects that are alternatives of or similar to Relevant Search Book

Dive Into Machine Learning
Dive into Machine Learning with Python Jupyter notebook and scikit-learn! First posted in 2016, maintained as of 2021. Pull requests welcome.
Stars: ✭ 10,810 (+4579.65%)
Mutual labels:  jupyter-notebook, ipython-notebook
Ipytest
Pytest in IPython notebooks.
Stars: ✭ 139 (-39.83%)
Mutual labels:  jupyter-notebook, ipython-notebook
Transformalize
Configurable Extract, Transform, and Load
Stars: ✭ 125 (-45.89%)
Mutual labels:  solr, elasticsearch
Ik Analyzer
支持Lucene5/6/7/8+版本, 长期维护。
Stars: ✭ 112 (-51.52%)
Mutual labels:  solr, elasticsearch
Rfm Analysis
Python script (and IPython notebook) to perform RFM analysis from customer purchase history data
Stars: ✭ 165 (-28.57%)
Mutual labels:  jupyter-notebook, ipython-notebook
Srchx
A standalone lightweight full-text search engine built on top of blevesearch and Go with multiple storage (scorch, boltdb, leveldb, badger)
Stars: ✭ 118 (-48.92%)
Mutual labels:  solr, elasticsearch
Ipytracer
📊 Algorithm Visualizer for IPython/Jupyter Notebook
Stars: ✭ 138 (-40.26%)
Mutual labels:  jupyter-notebook, ipython-notebook
Spark Py Notebooks
Apache Spark & Python (pySpark) tutorials for Big Data Analysis and Machine Learning as IPython / Jupyter notebooks
Stars: ✭ 1,338 (+479.22%)
Mutual labels:  jupyter-notebook, ipython-notebook
Query Translator
Query Translator is a search query translator with AST representation
Stars: ✭ 165 (-28.57%)
Mutual labels:  solr, elasticsearch
Code4java
Repository for my java projects.
Stars: ✭ 164 (-29%)
Mutual labels:  solr, elasticsearch
Spring Boot 2.x Examples
Spring Boot 2.x code examples
Stars: ✭ 104 (-54.98%)
Mutual labels:  solr, elasticsearch
Ipywebrtc
WebRTC for Jupyter notebook/lab
Stars: ✭ 171 (-25.97%)
Mutual labels:  jupyter-notebook, ipython-notebook
Springboot Templates
springboot和dubbo、netty的集成,redis mongodb的nosql模板, kafka rocketmq rabbit的MQ模板, solr solrcloud elasticsearch查询引擎
Stars: ✭ 100 (-56.71%)
Mutual labels:  solr, elasticsearch
Prototypical Networks Tensorflow
Tensorflow implementation of NIPS 2017 Paper "Prototypical Networks for Few-shot Learning"
Stars: ✭ 122 (-47.19%)
Mutual labels:  jupyter-notebook, ipython-notebook
Logisland
Scalable stream processing platform for advanced realtime analytics on top of Kafka and Spark. LogIsland also supports MQTT and Kafka Streams (Flink being in the roadmap). The platform does complex event processing and is suitable for time series analysis. A large set of valuable ready to use processors, data sources and sinks are available.
Stars: ✭ 97 (-58.01%)
Mutual labels:  solr, elasticsearch
Griffon Vm
Griffon Data Science Virtual Machine
Stars: ✭ 128 (-44.59%)
Mutual labels:  jupyter-notebook, elasticsearch
Notebooks
A collection of Jupyter/IPython notebooks
Stars: ✭ 78 (-66.23%)
Mutual labels:  jupyter-notebook, ipython-notebook
Sci Pype
A Machine Learning API with native redis caching and export + import using S3. Analyze entire datasets using an API for building, training, testing, analyzing, extracting, importing, and archiving. This repository can run from a docker container or from the repository.
Stars: ✭ 90 (-61.04%)
Mutual labels:  jupyter-notebook, ipython-notebook
Sqlcell
SQLCell is a magic function for the Jupyter Notebook that executes raw, parallel, parameterized SQL queries with the ability to accept Python values as parameters and assign output data to Python variables while concurrently running Python code. And *much* more.
Stars: ✭ 145 (-37.23%)
Mutual labels:  jupyter-notebook, ipython-notebook
Open Semantic Etl
Python based Open Source ETL tools for file crawling, document processing (text extraction, OCR), content analysis (Entity Extraction & Named Entity Recognition) & data enrichment (annotation) pipelines & ingestor to Solr or Elastic search index & linked data graph database
Stars: ✭ 165 (-28.57%)
Mutual labels:  solr, elasticsearch

Relevant Search

Code and Examples for Relevant Search by Doug Turnbull and John Berryman. Published by Manning Publications.

Relevant Search is all about leveraging Solr and Elasticsearch to build more intelligent search applications with intuitive results!

How to run

Install Python

Examples for this book are written in Python 2.7 and use iPython notebook. The first thing you'll need to do is install Python, pip (the Python package installer).

  1. Install Python for your platform here. For Windows we recommend the ActivePython distribution.
  2. Install pip, the Python installer, by simply running easy_install pip

Install Elasticsearch

The examples expect Elasticsearch to be hosted at localhost:9200. So you'll need to install Elasticsearch to work with the examples. There's two ways to install Elasticsearch

Recommended: Vagrant

Vagrant is a tool for installing and provisioning virtual machines locally for development purposes. If you've never used vagrant, you can follow the installation instructions here. OpenSource Connections maintains a basic Elasticsearch vagrant box here.

To use the vagrant box

  1. Install vagrant

  2. Clone the Elasticsearch vagrant box from Github locally

    git clone [email protected]:o19s/elasticsearch-vagrant.git
    
  3. Provision the Vagrant box (this install Elasticsearch and turns the box on)

    cd elasticsearch-vagrant
    vagrant up --provision
    
  4. Confirm Elasticsearch is running

curl -XGET http://localhost:9200

or visit this URL in your browser.

You should see JSON returned from the Elasticsearch instance. Something like:

   {
     "name" : "Mary Zero",
     "cluster_name" : "elasticsearch",
     "version" : {
       "number" : "2.0.0-rc1",
       "build_hash" : "4757962b01a4d837af282f90df9e1fbdb68b524e",
       "build_timestamp" : "2015-10-01T10:06:08Z",
       "build_snapshot" : false,
       "lucene_version" : "5.2.1"
     },
     "tagline" : "You Know, for Search"
   }
  1. When you're done working with examples, turn off the Vagrant box
vagrant halt

Locally on Your Machine

Follow Elasticsearch's instructions to install Elasticsearch on your machine.

Running The Python Examples

The examples are written in Python 2.7 in ipython notebooks depending only on a few basic libraries. The only external library needed is the requests HTTP library. Some of the external APIs require API keys (for example TMDB, you can obtain one here).

To run the IPython Notebook Examples

  1. First ensure you have git, python 2.7 and pip installed and in your PATH

  2. Then use the following commands to install the required dependencies

git clone [email protected]:o19s/relevant-search-book.git
cd relevant-search-book
pip install requests
pip install jupyter
cd ipython/
  1. Launch!

ipython notebook

  1. Play!

Switch to your default browser where the Ipython examples are ready for you to experiment with. Keep in mind many examples are order dependent, so you can't just jump to an interesting listing and run it. Indexing commands with certain settings and what not need to be run. Be sure to run the prior ipython notebook commands too!

Happy Searching!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].