Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Call Taker Module - Stop Finder Bug #2279
This is in the test version, not the TM production version.
When looking up a stop 'By Name', the results don't always display the most relevant options first, if at all. See below for two examples.
Salmon/SW Salmon -- in this case, stops with Salmon do show up, however I can't figure out how the very first option is a match.
added a commit
Oct 12, 2016
Some updates on this issue:
First, note that, by default, the string matching library that OTP uses (Lucene) considers spaces to be delimiters between distinct search terms. So when you search for
I've made a change, just pushed to the test server, that allows you to use quotation marks to indicate multi-word search phrases. For example, searching for
Quoted phrases can be combined with standard unquoted terms, e.g.
Also, quotes can be used around a single word to force Lucene to consider only the exact spelling of that term. (By default, it uses a "fuzzy" matching algorithm that finds matches similar to the search term as well as exact ones.)
For example, searching for
Let me know if you have any questions or see anything that looks off with the new results.