Hi, I've noticed on a number of occasions that the search results do not return the full list of the valid results. I have the phrase "(Favourite)" [without quotation marks] in the alternate title. When I search for this, most of the valid results are displayed, but about 5-10% are not. The same ones are missing all the time.
Another example, if I search for "I'm accepted", I get no results, but if I search for "accpeted" the song that begins "I'm accepted" shows in the results. However, there are no apostrophies in most of the missing results normally. (The same occurs even when I copy from the song title in edit mode, and then paste it directly into the search field and search on song title.)
There have also been occasions when I have noticed results returned that do not match the search criteria.
However, while doing some analysis while writing this post, I've found that when I search for "Favourite" instead of "(Favourite)" [without quotation marks] then the missing results are shown.
To get around this, I have been using a spreadsheet for displaying the list of "Favourite" songs to choose from. I'll search for Favourite without the brackets now.
But I'm still a little confused, and wary of trusting the results as much as I would like to.
Comments
When a song is saved, we create a version of the song title and song lyrics that are optimised for searching. One of the things we do is to remove the punctuation. As far as I know, when you run a search, punctuation is removed before running the search. Perhaps there's a problem with brackets in particular.
My advice is to search without punctuation for most accurate results, though technically punctuation should not make a difference.
Hello,
You could try to reindex your songs: http://manual.openlp.org/menu_items.html?highlight=Re-index%20songs#tools
Cheers
_____________________________
Like OpenLP? Give us a thumb.
googol, re-indexing worked! Thanks for that. All the problems that I had experienced are now gone. Wonderful.
Would it be worth each new installation or version upgrade doing a re-index as standard as part of the installation process?
Not really. Whenever you save a song, it's search index is rewritten, and for the last few releases of OpenLP nothing has changed in that area. If I recall correctly you've been using OpenLP 2.0 for a while now, so I'll take a guess that you probably had never run the re-index before?
(Not to mention that there is no installation process on Mac, and on Linux and FreeBSD the installation process does not have access to the user's files, and therefore OpenLP data too.)