lasearch icon indicating copy to clipboard operation
lasearch copied to clipboard

Phrase search using quotes not supported — quoted queries return different/incorrect results

Open glifocat opened this issue 9 months ago • 2 comments

Summary

When using the live demo (epstein.lasearch.app), wrapping a search query in double quotes does not perform a phrase/exact-match search. Instead, the quotes either have no effect or produce degraded results.

Steps to Reproduce

  1. Go to https://epstein.lasearch.app/
    1. Search for Ghislaine Maxwell (no quotes) → returns 200 results, top score ~16.07, with clearly relevant documents about Maxwell.
    1. Search for "Ghislaine Maxwell" (with quotes) → also returns 200 results, but top score drops to ~9.70 and the top results are completely unrelated documents (e.g. border patrol forms), suggesting the quotes are not being treated as a phrase delimiter.

Expected Behavior

Wrapping a query in double quotes (e.g. "Ghislaine Maxwell") should restrict results to documents containing that exact phrase, similar to how quote-based phrase search works in tools like Elasticsearch or standard search engines.

Actual Behavior

  • Quotes are not interpreted as a phrase search operator.
    • The quoted query produces results that are different from the unquoted query but not more precise — they appear to be semantically less relevant.
      • There is no documented syntax for performing an exact phrase search.

Additional Notes

This was tested using the Epstein Files Search live demo. The tool appears to use pure semantic/vector search, which does not natively support exact phrase matching. A hybrid approach (semantic + keyword filter) or a dedicated phrase-search operator would address this gap.

glifocat avatar Feb 20 '26 14:02 glifocat

Thanks for report :), "" currently does not work as described intentionally. Adding support for exact phrases is on todo list.

7sedam7 avatar Feb 20 '26 15:02 7sedam7

Thanks for report :), "" currently does not work as described intentionally. Adding support for exact phrases is on todo list.

No problem! I'll be keeping an eye on new releases. I've been trying the tool locally on my Mac Mini M4 pro and it's incredible how fast it is.

glifocat avatar Feb 20 '26 15:02 glifocat