Apache Solr PHP Integration
上QQ阅读APP看书,第一时间看更新

Conventions

In this book, you will find a number of styles of text that distinguish between different kinds of information. Here are some examples of these styles, and an explanation of their meaning.

Code words in the text are shown as follows: "Call the createPing()function to create the ping query."

A block of code is set as follows:

$config = array(
  "endpoint" => array("localhost" => array("host"=>"127.0.0.1",
"port"=>"8080", "path"=>"/solr", "core"=>"collection1",)
) );

Any command-line input or output is written as follows:

cd ~/solr-4.3.1/example
java –jar start.jar

New terms and important words are shown in italics. Words that you see on the screen, in menus or dialog boxes for example, appear in the text like this: "Select collection1 from the dropdown on the left-hand panel. Click on ping and you will see the ping time in milliseconds appear next to the ping link".

Note

Warnings or important notes appear in a box like this.

Tip

Tips and tricks appear like this.