Book Image

Apache Solr Enterprise Search Server - Third Edition

By : David Smiley, Eric Pugh, Kranti Parisa, Matt Mitchell
Book Image

Apache Solr Enterprise Search Server - Third Edition

By: David Smiley, Eric Pugh, Kranti Parisa, Matt Mitchell

Overview of this book

<p>Solr Apache is a widely popular open source enterprise search server that delivers powerful search and faceted navigation features—features that are elusive with databases. Solr supports complex search criteria, faceting, result highlighting, query-completion, query spell-checking, relevancy tuning, geospatial searches, and much more.</p> <p>This book is a comprehensive resource for just about everything Solr has to offer, and it will take you from first exposure to development and deployment in no time. Even if you wish to use Solr 5, you should find the information to be just as applicable due to Solr's high regard for backward compatibility. The book includes some useful information specific to Solr 5.</p>
Table of Contents (19 chapters)
Apache Solr Enterprise Search Server Third Edition
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Solr's generic XML structured data representation


Solr has its own generic XML representation of typed and named data structures. This XML is used for most of the response XML, and it is also used in parts of solconfig.xml. The XML elements involved in this partial XML schema are as follows:

  • <lst>: This is a named list. Each of its child nodes should have a name attribute. The <doc> element is in effect equivalent to lst but is used only for result documents.

  • <arr>: This is an array of values. Each of its child nodes is a member of this array.

The following elements represent simple values with the text of the element storing the value. The numeric ranges match that of the Java language. They will have a name attribute if they are underneath lst (or doc), but not otherwise.

  • <str>: A string of text

  • <int>: An integer in the range -2^31 to 2^31-1

  • <long>: An integer in the range -2^63 to 2^63-1

  • <float>: A floating point number in the range 1.4e–45 to...