Convert Sprinklr to Lucene
Move a Sprinklr search into a Lucene index, mapping its fields where an equivalent exists and flagging what does not.
Once the syntax is sorted
Three different situations, depending on how far along the move is.
Reference
Worked example
Sprinklr query
title:launch AND (delay NEAR/5 shipping)
Lucene output
title:launch AND "delay shipping"~5
What carries over, and what does not
Carries over
- •Boolean AND / OR / NOT
- •Proximity (NEAR/n)
- •Wildcards
- •Range queries
Degrades or drops
- •Hashtag syntax is dropped (Lucene does not support it)
- •An OR chain over 500 branches is truncated to 500 (an engine-wide limit, not specific to Lucene)