Using the Windows Content Indexer

In previous sections, I used a very simple method to determine whether a note matches a search query. If the title of the note contains the search query then that counts as a match. I did not even try to match the contents of the notes because the contents of the notes might contain HTML markup.

In order to perform more sophisticated searches, you can take advantage of the Windows Index. The Windows Index, for example, enables you to perform Boolean queries that include OR and NOT operators. You can also perform exact phrase queries by wrapping your search terms in quotation marks. Finally, the Windows Index supports different types of content including HTML content.

Note

When performing OR or NOT Boolean queries, ...

Get Windows® 8.1 Apps with HTML5 and JavaScript Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.