mirror of https://github.com/apache/lucene.git
installed an eclipse spellchecker ;)
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@533815 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
88a33e7427
commit
b8aea8b7f8
|
@ -63,8 +63,8 @@ import org.apache.solr.util.SimpleOrderedMap;
|
||||||
* http://www.getopt.org/luke/
|
* http://www.getopt.org/luke/
|
||||||
* <p>
|
* <p>
|
||||||
* NOTE: the response format is still likely to change. It should be designed so
|
* NOTE: the response format is still likely to change. It should be designed so
|
||||||
* that it works nicely with an XSLT transformation. Untill we have a nice
|
* that it works nicely with an XSLT transformation. Until we have a nice
|
||||||
* XSLT frontend for /admin, the format is still open to change.
|
* XSLT front end for /admin, the format is still open to change.
|
||||||
* </p>
|
* </p>
|
||||||
*
|
*
|
||||||
* For more documentation see:
|
* For more documentation see:
|
||||||
|
@ -98,7 +98,7 @@ public class LukeRequestHandler extends RequestHandlerBase
|
||||||
|
|
||||||
Integer docId = params.getInt( DOC_ID );
|
Integer docId = params.getInt( DOC_ID );
|
||||||
if( docId == null && params.get( ID ) != null ) {
|
if( docId == null && params.get( ID ) != null ) {
|
||||||
// Look for somethign with a given solr ID
|
// Look for something with a given solr ID
|
||||||
SchemaField uniqueKey = schema.getUniqueKeyField();
|
SchemaField uniqueKey = schema.getUniqueKeyField();
|
||||||
String v = uniqueKey.getType().toInternal( params.get(ID) );
|
String v = uniqueKey.getType().toInternal( params.get(ID) );
|
||||||
Term t = new Term( uniqueKey.getName(), v );
|
Term t = new Term( uniqueKey.getName(), v );
|
||||||
|
@ -140,7 +140,7 @@ public class LukeRequestHandler extends RequestHandlerBase
|
||||||
rsp.add( "fields", getIndexedFieldsInfo( searcher, fields, numTerms ) ) ;
|
rsp.add( "fields", getIndexedFieldsInfo( searcher, fields, numTerms ) ) ;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Add some generally helpful informaion
|
// Add some generally helpful information
|
||||||
NamedList<Object> info = new SimpleOrderedMap<Object>();
|
NamedList<Object> info = new SimpleOrderedMap<Object>();
|
||||||
info.add( "key", getFieldFlagsKey() );
|
info.add( "key", getFieldFlagsKey() );
|
||||||
info.add( "NOTE", "Document Frequency (df) is not updated when a document is marked for deletion. df values include deleted documents." );
|
info.add( "NOTE", "Document Frequency (df) is not updated when a document is marked for deletion. df values include deleted documents." );
|
||||||
|
|
|
@ -34,8 +34,8 @@ import org.apache.solr.util.SimpleOrderedMap;
|
||||||
* similar to "admin/registry.jsp"
|
* similar to "admin/registry.jsp"
|
||||||
*
|
*
|
||||||
* NOTE: the response format is still likely to change. It should be designed so
|
* NOTE: the response format is still likely to change. It should be designed so
|
||||||
* that it works nicely with an XSLT transformation. Untill we have a nice
|
* that it works nicely with an XSLT transformation. Until we have a nice
|
||||||
* XSLT frontend for /admin, the format is still open to change.
|
* XSLT front end for /admin, the format is still open to change.
|
||||||
*
|
*
|
||||||
* @author ryan
|
* @author ryan
|
||||||
* @version $Id$
|
* @version $Id$
|
||||||
|
|
|
@ -47,8 +47,8 @@ import org.apache.solr.util.XML;
|
||||||
* This handler returns system info
|
* This handler returns system info
|
||||||
*
|
*
|
||||||
* NOTE: the response format is still likely to change. It should be designed so
|
* NOTE: the response format is still likely to change. It should be designed so
|
||||||
* that it works nicely with an XSLT transformation. Untill we have a nice
|
* that it works nicely with an XSLT transformation. Until we have a nice
|
||||||
* XSLT frontend for /admin, the format is still open to change.
|
* XSLT front end for /admin, the format is still open to change.
|
||||||
*
|
*
|
||||||
* @author ryan
|
* @author ryan
|
||||||
* @version $Id$
|
* @version $Id$
|
||||||
|
|
|
@ -33,8 +33,8 @@ import org.apache.solr.util.SimpleOrderedMap;
|
||||||
* Copied from "admin/threaddump.jsp"
|
* Copied from "admin/threaddump.jsp"
|
||||||
*
|
*
|
||||||
* NOTE: the response format is still likely to change. It should be designed so
|
* NOTE: the response format is still likely to change. It should be designed so
|
||||||
* that it works nicely with an XSLT transformation. Untill we have a nice
|
* that it works nicely with an XSLT transformation. Until we have a nice
|
||||||
* XSLT frontend for /admin, the format is still open to change.
|
* XSLT front end for /admin, the format is still open to change.
|
||||||
*
|
*
|
||||||
* @author ryan
|
* @author ryan
|
||||||
* @version $Id$
|
* @version $Id$
|
||||||
|
|
Loading…
Reference in New Issue