Introduction to search with Sphinx /
This concise introduction to Sphinx shows you how to use this free software to index an enormous number of documents and provide fast results to both simple and complex searches.
Clasificación: | Libro Electrónico |
---|---|
Autor principal: | |
Formato: | Electrónico eBook |
Idioma: | Inglés |
Publicado: |
Sebastopol, CA :
O'Reilly,
©2011.
|
Edición: | 1st ed. |
Temas: | |
Acceso en línea: | Texto completo (Requiere registro previo con correo institucional) |
Tabla de Contenidos:
- Copyright; Table of Contents; Preface; Audience; Organization of This Book; Conventions Used in This Book; Using Code Examples; We'd Like to Hear from You; Safari® Books Online; Acknowledgments; Chapter 1. The World of Text Search; Terms and Concepts in Search; Thinking in Documents Versus Databases; Why Do We Need Full-Text Indexes?; Query Languages; Logical Versus Full-Text Conditions; Logical conditions; Full-text queries; Differences between logical and full-text searches; Natural Language Processing; From Text to Words; Linguistics Crash Course; Relevance, As Seen from Outer Space
- Result Set PostprocessingFull-Text Indexes; Search Workflows; Kinds of Data; Indexing Approaches; Full-Text Indexes and Attributes; Approaches to Searching; Kinds of Results; Chapter 2. Getting Started with Sphinx; Workflow Overview; Getting Started ... in a Minute; Basic Configuration; Defining Data Sources; Disk-based indexes; RT indexes; Distributed indexes; Declaring Fields and Attributes in SQL Data; Sphinx-Wide Settings; Managing Configurations with Inheritance and Scripting; Accessing searchd; Configuring Interfaces; Using SphinxAPI; Using SphinxQL; Building Sphinx from Source
- Quick BuildSource Build Requirements; Configuring Sources and Building Binaries; Chapter 3. Basic Indexing; Indexing SQL Data; Main Fetch Query; Pre-Queries, Post-Queries, and Post-Index Queries; How the Various SQL Queries Work Together; Ranged Queries for Larger Data Sets; Indexing XML Data; Index Schemas for XML Data; XML Encodings; xmlpipe2 Elements Reference; Working with Character Sets; Handling Stop Words and Short Words; Chapter 4. Basic Searching; Matching Modes; Full-Text Query Syntax; Known Operators; Escaping Special Characters; AND and OR Operators and a Notorious Precedence Trap
- NOT OperatorField Limit Operator; Phrase Operator; Keyword Proximity Operator; Quorum Operator; Strict Order (BEFORE) Operator; NEAR Operator; SENTENCE and PARAGRAPH Operators; ZONE Limit Operator; Keyword Modifiers; Result Set Contents and Limits; Searching Multiple Indexes; Result Set Processing; Expressions; Filtering; Sorting; Grouping; Chapter 5. Managing Indexes; The "Divide and Conquer" Concept; Index Rotation; Picking Documents; Handling Updates and Deletions with K-Lists; Scheduling Rebuilds, and Using Multiple Deltas; Merge Versus Rebuild Versus Deltas
- Scripting and Reloading ConfigurationsChapter 6. Relevance and Ranking; Relevance Assessment: A Black Art; Relevance Ranking Functions; Sphinx Rankers Explained; BM25 Factor; Phrase Proximity Factor; Overview of the Available Rankers; Nitty-gritty Ranker Details; How Do I Draw Those Stars?; How Do I Rank Exact Field Matches Higher?; How Do I Force Document D to Rank First?; How Does Sphinx Ranking Compare to System XYZ?; Where to Go from Here