Skip to Content
Apache Jakarta and Beyond: A Java Programmer’s Introduction
book

Apache Jakarta and Beyond: A Java Programmer’s Introduction

by Larne Pekowsky
December 2004
Intermediate to advanced content levelIntermediate to advanced
608 pages
11h 47m
English
Addison-Wesley Professional
Content preview from Apache Jakarta and Beyond: A Java Programmer’s Introduction

Chapter 14. Working with Text 2: Searching

Chapter 13 discussed one common approach to working with text, defining a structure through a language called regular expressions and checking an input against this structure. One application of this approach is finding portions of text from a collection that meet a certain precisely defined criteria.

A very common related problem is finding documents from within a large collection that meet a less precisely defined requirement—for example, finding all Web pages that discuss JavaServer Pages or finding all e-mails from John Smith. This is called a text search or free text search to enforce the idea that the desired text is “free” to appear anywhere in the documents.

Text searches could be tackled by the ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Java 9 High Performance

Java 9 High Performance

Mayur Ramgir, Nick Samoylov

Publisher Resources

ISBN: 0321237714Purchase book