Quick-start
Edit pageThis guide will take you through the process of installing Xapiand and familiarize you with the concepts that will allow you to use search and storage indexes. DON’T PANIC, it will take just a few minutes.
Installing and Running
Section titled “Installing and Running”Using Docker
Section titled “Using Docker”# Run from Docker with *very-very-very* verbose output:docker run -p 8880:8880 --rm ghcr.io/kronuz/xapiand:latest -vvvvUsing Homebrew under macOS
Section titled “Using Homebrew under macOS”# Install with Homebrew:brew install Kronuz/tap/xapiand
# Run in foreground with *very-very-very* verbose output:xapiand -vvvvYou can also check the Installation section for more details.
Indexing
Section titled “Indexing”Let’s try and index some twitter like information. First, let’s create a twitter user, and add some tweets (the twitter index will be created automatically):
PUT /twitter/user/Kronuz
{ "name": "Germán Méndez Bravo"}PUT /twitter/tweet/1
{ "user": "Kronuz", "postDate": "2016-11-15T13:12:00", "message": "Trying out Xapiand, so far, so good... so what!"}PUT /twitter/tweet/2
{ "user": "Kronuz", "postDate": "2016-10-15T10:31:18", "message": "Another tweet, will it be indexed?"}You can dig a little deeper in the Data Manipulation section.
Searching
Section titled “Searching”Now, let’s retrieve the information we just added by GETting it:
GET /twitter/user/KronuzGET /twitter/tweet/1GET /twitter/tweet/2Let’s find all the tweets that Kronuz posted:
SEARCH /twitter/tweet/?q=user:KronuzYou can find out more in the Data Exploration section.
