lucene-solr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yo...@apache.org
Subject svn commit: r801495 - /lucene/solr/trunk/src/webapp/web/admin/analysis.jsp
Date Thu, 06 Aug 2009 02:12:46 GMT
Author: yonik
Date: Thu Aug  6 02:12:46 2009
New Revision: 801495

URL: http://svn.apache.org/viewvc?rev=801495&view=rev
Log:
analysis.jsp accidentally created tokenstream again with an exhausted reader

Modified:
    lucene/solr/trunk/src/webapp/web/admin/analysis.jsp

Modified: lucene/solr/trunk/src/webapp/web/admin/analysis.jsp
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/src/webapp/web/admin/analysis.jsp?rev=801495&r1=801494&r2=801495&view=diff
==============================================================================
--- lucene/solr/trunk/src/webapp/web/admin/analysis.jsp (original)
+++ lucene/solr/trunk/src/webapp/web/admin/analysis.jsp Thu Aug  6 02:12:46 2009
@@ -199,7 +199,6 @@
        reader.reset();
        TokenStream tstream = tfac.create(reader);
        List<Token> tokens = getTokens(tstream);
-       tstream = tfac.create(reader);
        if (verbose) {
          writeHeader(out, tfac.getClass(), tfac.getArgs());
        }



Mime
View raw message