Seekmere

Getting started

  1. Sign up and your team is made for you; invite teammates from Teams.
  2. Create an index in the console: name it and list its fields. Text fields are searched by word, keyword fields filter and facet, numeric fields range and sort. Its full name is your team's id, a hyphen, and the name you gave.
  3. Make an API key (deployer or admin) for your server, and write documents:
curl -X POST https://search.lunaor.com/v1/indexes/<index>/documents -H "authorization: Bearer sadm_…" \
  -d '{"put": [{"id": "1", "title": "Password reset", "body": "Open settings…"}], "delete": []}'
  1. Make a search-only key for the index and put the search box in your page:
<!-- in your page: a search-only key from the console -->
<script type="module" src="https://search.lunaor.com/v1/sdk/seekmere.js"></script>
<seekmere-search index="t-yourteam-products" key="srch_…"
  facets="brand,category" title-field="name" text-field="description"></seekmere-search>

# from your server: an API key from the console
curl -X POST https://search.lunaor.com/v1/indexes/t-yourteam-products/documents \
  -H "authorization: Bearer sadm_…" \
  -d '{"put": [{"id": "p1", "name": "Trail shoe", "brand": "Acme", "category": "shoes"}]}'
  1. Already on InstantSearch? Keep your widgets:
import { instantSearchClient } from "https://search.lunaor.com/v1/sdk/seekmere.js";
const search = instantsearch({ indexName: "<index>", searchClient: instantSearchClient({ key: "srch_…" }) });

The full guide

Everything else (filters, facets, geo, synonyms and rules, analytics and tags, A/B experiments, aliases, sources that follow a database or a folder) is in the guide: the Seekmere guide (plain text). It was written for Lunaor's own teams first, so where it says to use a Harpora token, use an API key from your console. Questions: support@seekmere.com.