objective c - What kinds of search solutions are there for an iPhone app? -


There is a problem in determining the search solution for me to use in my new iPhone application. I have the data structure a hierarchy plist that describes a table of contents that is linked to an HTML file stored locally. I only have two levels in the TOC (chapter and section), so it is well equipped with a UITableView Fits in with headers and chambers. The main content is text in HTML files. I have a different approach that will allow someone to search for words and return it to relevant documents (in this case, as described in Plast). All this data is coded hard in the application (it does not change), so hardly the compiled index code is acceptable. I have some ideas but want to implement the best and easiest method to implement search algorithms on an iPhone.

== Reverse word indexing ==

I'll scan the HTML documents related to related words and copy them to a flat file (plist with an array of references to those files. ).

The problem does not help with more than one word or document relevance.

== Vector Space Search ==

It seems like a great idea but how can such things be implemented, this is especially a simplified iPhone application Is quite complex that displays a table of contents and a set of pages

is decent, and it is probably easier to write yourself.


Comments

Popular posts from this blog

oracle - The fastest way to check if some records in a database table? -

php - multilevel menu with multilevel array -

jQuery UI: Datepicker month format -