KeyKit
← All conversions

Convert Lucene to Manticore Search

Translate a Lucene query into Manticore Search syntax for a self-hosted Manticore or Sphinx index. Socialgist and Datastreamer Unify are selectable in their own right if you are querying those.

Once the syntax is sorted

Three different situations, depending on how far along the move is.

Testing a new provider? Run a full KeyKit evaluation. →Want Mulberry to do the sourcing for you? Talk to Mulberry →Run conversions from your agent with a free key. Get a key →
Reference

Worked example

Lucene query
(cat OR dog) AND pets AND NOT toy
Manticore Search output
(cat | dog) pets -toy

What carries over, and what does not

Carries over
  • Boolean AND / OR / NOT
  • Proximity (NEAR/n)
  • Wildcards
Degrades or drops
  • Fuzzy matching is dropped (Manticore Search does not support it)
  • Relevance boost is dropped (Manticore Search does not support it)
  • Range queries is dropped (Manticore Search does not support it)
  • An OR chain over 500 branches is truncated to 500 (an engine-wide limit, not specific to Manticore Search)