heywhy / ex_elasticlunr

Elasticlunr is a small, full-text search library for use in the Elixir environment. It indexes JSON documents and provides a friendly search interface to retrieve documents.
https://hexdocs.pm/elasticlunr
MIT License
189 stars 9 forks source link

Search fails in livebook instance #3

Closed heywhy closed 2 years ago

heywhy commented 2 years ago

There is inconsistency when a search for the word "me" is executed in livebook, but every other word seems to pass without any problem. Running the same notebook as a script on my machine fails even though the IO.get (I was wrong thinking it's the issue) statement was removed. The most interesting part is that when I run the same code in the test environment it works.

See images below:

Screen Shot 2021-11-06 at 5 20 43 PM Screen Shot 2021-11-06 at 5 21 02 PM Screen Shot 2021-11-06 at 5 22 00 PM