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 text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles are shown as follows: "Typing java –version
at a command line will tell you exactly which version of Java you are using, if any."
A block of code is set as follows:
"responseHeader": { "status": 0, "QTime": 1, "params": { "q": "lcd", "indent": "true", "wt": "json" } } …
When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:
{ "id": "9885A004", "name": "Canon PowerShot SD500", "manu": "Canon Inc.", "manu_id_s": "canon", "cat": [ "electronics", "camera" ], "features": [ "3x zoop, 7.1 megapixel Digital ELPH", "movie clips up to 640x480 @30 fps", "2.0" TFT LCD, 118,000 pixels", "built in flash, red-eye reduction" ], "includes": "32MB SD card, USB cable, AV cable, battery", "weight": 6.4, "price": 329.95, "price_c": "329.95,USD", "popularity": 7, "inStock": true, "manufacturedate_dt": "2006-02-13T15:26:37Z", "store": "45.19614,-93.90341", "_version_": 1500358264225792000 }, ...
Any command-line input or output is written as follows:
>> cd example/exampledocs >> java –Dc=techproducts -jar post.jar *.xml SimplePostTool version 5.0.0 Posting files to [base] url http://localhost:8983/solr/techproducts/ update using content-type application/xml... POSTing file gb18030-example.xml POSTing file hd.xml etc. 14 files indexed. COMMITting Solr index changes to http://localhost:8983/solr/techproducts/update...
New terms and important words are shown in bold. Words that you see on the screen, in menus or dialog boxes for example, appear in the text like this: "Click on the Core Selector drop-down menu and select the techproducts link."
3.149.214.32