From e0df5763c1f1204f46ee61f937b9b66e39325469 Mon Sep 17 00:00:00 2001 From: Yonik Seeley Date: Tue, 28 Feb 2006 01:07:25 +0000 Subject: [PATCH] analysis tutorial update git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@381522 13f79535-47bb-0310-9956-ffa450edef68 --- .../documentation/content/xdocs/tutorial.xml | 68 +++++++++++++++---- 1 file changed, 54 insertions(+), 14 deletions(-) diff --git a/src/site/src/documentation/content/xdocs/tutorial.xml b/src/site/src/documentation/content/xdocs/tutorial.xml index 8a381fc23cf..bd3360b9fcd 100755 --- a/src/site/src/documentation/content/xdocs/tutorial.xml +++ b/src/site/src/documentation/content/xdocs/tutorial.xml @@ -29,7 +29,7 @@ To follow along with this tutorial, you will need...

    -
  1. Java 1.5, from +
  2. Java 1.5 or greater, from Sun, IBM, or BEA. @@ -42,6 +42,9 @@ To follow along with this tutorial, you will need... "Devel" category.) This tutorial will assume that "sh" is in your PATH, and that you have "curl" installed from the "Web" category.
  3. +
  4. FireFox or Mozilla is the preferred browser to browse the admin pages... + the current stylesheet doesn't currently look good on IE. +
@@ -49,7 +52,7 @@ To follow along with this tutorial, you will need... Getting Started

-Begin by unziping the Solar release, and changing your working directory +Begin by unziping the Solar release and changing your working directory to be the "example" directory

@@ -150,8 +153,8 @@ Posting file vidcard.xml to http://localhost:8983/solr/update

@@ -216,20 +219,24 @@ Go ahead and edit the existing XML files to change some of the data, and re-run

"score" can also be used as a field name when specifying a sort...

+

+ If no sort is specified, the default is score desc, the same as in the Lucene search APIs. +

+ @@ -239,14 +246,47 @@ Go ahead and edit the existing XML files to change some of the data, and re-run

Text fields are typically indexed by breaking the field into words and applying various transformations such as - lowercasing, removing plurals, or stemming to increase relevancy. + lowercasing, removing plurals, or stemming to increase relevancy. The same text transformations are normally + applied to any queries in order to match what is indexed.

-

TODO

+

Example queries demonstrating relevancy improving transformations:

+ + + +

+ The schema defines + the fields in the index and what type of analysis is applied to them. The current schema your server is using + may be accessed via the [SCHEMA] link on the admin page. +

+ + +

A full description of the analysis components, Analyzers, Tokenizers, and TokenFilters + available for use is here. +

-

A more in depth description of the analysis components - available is here. -