Apache Solr open-source search software
LUCENE-2308: Removed broken reference to FieldSelector in package.html
Christopher John Male57585e5a99cc
diff --git a/lucene/src/java/org/apache/lucene/document/package.html b/lucene/src/java/org/apache/lucene/document/package.htmlindex 57580f1f0bc..659cc74bd83 100644--- a/lucene/src/java/org/apache/lucene/document/package.html+++ b/lucene/src/java/org/apache/lucene/document/package.html@@ -44,13 +44,5 @@ package also provides utilities for working with {@link org.apache.lucene.docume(remember, Lucene only searches text). {@link org.apache.lucene.document.NumericField} is a special helper classto simplify indexing of numeric values (and also dates) for fast range range queries with {@link org.apache.lucene.search.NumericRangeQuery}(using a special sortable string representation of numeric values).</p>-<p>The {@link org.apache.lucene.document.FieldSelector} class provides a mechanism to tell Lucene how to load Documents from-storage. If no FieldSelector is used, all IndexableFields on a Document will be loaded. As an example of the FieldSelector usage, consider- the common use case of-displaying search results on a web page and then having users click through to see the full document. In this scenario, it is often- the case that there are many small fields and one or two large fields (containing the contents of the original file). Before the FieldSelector,-the full Document had to be loaded, including the large fields, in order to display the results. Now, using the FieldSelector, one-can {@link org.apache.lucene.document.FieldSelectorResult#LAZY_LOAD} the large fields, thus only loading the large fields-when a user clicks on the actual link to view the original content.</p></body></html>