Hello, I'm Tobias Buchholz and a student at HTW in Berlin. For my bachelor thesis I'm trying to improve a search algorithm of an iOS app, which offers some magazines with a lot of articles. To do that I used the S4LuceneLibrary of Micheal Papp (https://github.com/mikekppp/S4LuceneLibrary), which is an iOS equivalent to the full-featured text search engine library of Apache Lucene. The problem is, that the search now is very inconsistent...that means the search after specific words takes sometimes very long and on the other hand sometimes not.
That's a list of words, I was searching for, and the time the search took: - Berlin (34 hits) -> 2,8 seconds - Tag (29 hits) -> 11,8 seconds - Haus (3 hits) -> 7,1 seconds - Straße (28 hits) -> 15,7 seconds - Raumfahrt (5 hits) -> 13,8 seconds - Astronomie (9 hits) -> 6 second So the results are quite different, but I thought it should take the same time for every search phrase. Do you have an idea why is that? Thanks in advance! Best Regards, Tobias Buchholz
