See what makes a result rank.

Sigmie is a PHP library for keyword, semantic and hybrid search on Elasticsearch and OpenSearch. Change one line of the query and watch the ranking reorder live.

Read the quick start

Blends word matches with meaning. The code below sets the weight of each.

Show

Rank orbit

Inner ring is rank 1
#1#2–3#4–51. The Spy1The Spy2.442. Undercover: How to Operate Behind Enemy Lines2Undercover: How to Op…2.043. Undercover3Undercover2.034. Spy Kids: Mission Critical4Spy Kids: Mission Cri…1.985. The Spy Next Door5The Spy Next Door1.86

Top 5

Word match plus meaning, recorded preset
Search.phpPHP
1
2
3
4
5
6
7
$netflix->newSearch()
->properties($props)
->semantic()
->textScoreMultiplier(0.05)
->queryString('secret agent undercover spy mission')
->size(5)
->get();

One builder for the whole index.

Docs
Docs
Docs
Docs
Docs
Docs
Schema.phpPHP
1
2
3
4
5
6
7
$props = new NewProperties;
$props->title('title');
$props->text('description')
->semantic(api: 'embeddings', dimensions: 384);
$props->price('price');
$props->category('brand');
$sigmie->newIndex('products')->properties($props)->create();

The docs, inside your coding agent.

Connect Claude Code or Cursor to https://sigmie.com/mcp to query search_docs, read_doc, and list_docs against Sigmie v2.

Ask search_docs
Add semantic search/docs/v2/search#add-semantic-search

Call semantic() to match by vector as well as by keyword:

1
2
3
4
5
$sigmie->newSearch('articles')
->properties($props)
->semantic()
->queryString('artificial intelligence')
->get();

To match by vector only, also call disableKeywordSearch():

1
->semantic()->disableKeywordSearch()

See Semantic Search to set up embeddings.

Run it against your own cluster.

Sigmie supports Elasticsearch 7 to 9 and OpenSearch 2 to 3 on PHP 8.1 and up.

Read the quick start