You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-commits@lucene.apache.org by yo...@apache.org on 2006/02/28 18:25:47 UTC
svn commit: r381717 -
/incubator/solr/trunk/src/site/src/documentation/content/xdocs/tutorial.xml
Author: yonik
Date: Tue Feb 28 09:25:42 2006
New Revision: 381717
URL: http://svn.apache.org/viewcvs?rev=381717&view=rev
Log:
analysis debugging examples
Modified:
incubator/solr/trunk/src/site/src/documentation/content/xdocs/tutorial.xml
Modified: incubator/solr/trunk/src/site/src/documentation/content/xdocs/tutorial.xml
URL: http://svn.apache.org/viewcvs/incubator/solr/trunk/src/site/src/documentation/content/xdocs/tutorial.xml?rev=381717&r1=381716&r2=381717&view=diff
==============================================================================
--- incubator/solr/trunk/src/site/src/documentation/content/xdocs/tutorial.xml (original)
+++ incubator/solr/trunk/src/site/src/documentation/content/xdocs/tutorial.xml Tue Feb 28 09:25:42 2006
@@ -288,6 +288,32 @@
</p>
+ <section>
+ <title>Analysis Debugging</title>
+ <p>There is a handy <a href="http://localhost:8983/solr/admin/analysis.jsp">analysis</a>
+ debugging page where you can see how a text value is broken down into words,
+ and shows the resulting tokens after they pass through each filter in the chain.
+ </p>
+ <p>
+ <a href="http://localhost:8983/solr/admin/analysis.jsp?name=name&val=Canon+PowerShot+SD500">This</a>
+ shows how "<code>Canon PowerShot SD500</code>" would be indexed as a value in the name field. Each row of
+ the table shows the resulting tokens after having passed through the next TokenFilter in the Analyzer for the <code>name</code> field.
+ Notice how both <code>powershot</code> and <code>power</code>, <code>shot</code> are indexed. Tokens generated at the same position
+ are shown in the same column, in this case <code>shot</code> and <code>powershot</code>.
+ </p>
+ <p>Selecting <a href="http://localhost:8983/solr/admin/analysis.jsp?name=name&verbose=on&val=Canon+PowerShot+SD500">verbose output</a>
+ will show more details, such as the name of each analyzer component in the chain, token positions, and the start and end positions
+ of the token in the original text.
+ </p>
+ <p>Selecting <a href="http://localhost:8983/solr/admin/analysis.jsp?name=name&highlight=on&val=Canon+PowerShot+SD500&qval=power-shot">highlight matches</a>
+ when both index and query values are provided, will take the resulting terms from the query value and highlight
+ all matches during the index value analysis.
+ </p>
+ <p><a href="http://localhost:8983/solr/admin/analysis.jsp?name=text&highlight=on&val=Four+score+and+seven+years+ago+our+fathers+brought+forth+on+this+continent+a+new+nation%2C+conceived+in+liberty+and+dedicated+to+the+proposition+that+all+men+are+created+equal.+&qval=liberties+and+equality">Here</a>
+ is an example of stemming and stop-words at work.
+ </p>
+ </section>
+
</section>