From ed514af83b31346dd770c03d2c3b1c62bb72ccf4 Mon Sep 17 00:00:00 2001 From: Yonik Seeley Date: Tue, 18 Apr 2006 21:09:38 +0000 Subject: [PATCH] update changelog git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@395040 13f79535-47bb-0310-9956-ffa450edef68 --- CHANGES.txt | 3 +++ .../src/org/apache/solr/servlet/SolrServlet.java | 10 ++++++++++ 2 files changed, 13 insertions(+) diff --git a/CHANGES.txt b/CHANGES.txt index 8979c26d6ae..d8e30ad2e70 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -22,5 +22,8 @@ Optimizations 2. BitDocSet.intersectionSize(HashDocSet) no longer generates an intermediate set +Bug Fixes + 1. Fixed delete-by-id for field types who's indexed form is different + from the printable form (mainly sortable numeric types). 2006/07/16 Solr open sourced, moves to Apache Incubator diff --git a/src/webapp/src/org/apache/solr/servlet/SolrServlet.java b/src/webapp/src/org/apache/solr/servlet/SolrServlet.java index 1675e482ee5..820ff520165 100644 --- a/src/webapp/src/org/apache/solr/servlet/SolrServlet.java +++ b/src/webapp/src/org/apache/solr/servlet/SolrServlet.java @@ -22,6 +22,7 @@ import org.apache.solr.schema.IndexSchema; import org.apache.solr.util.StrUtils; import javax.servlet.ServletException; +import javax.servlet.ServletContext; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; @@ -31,6 +32,7 @@ import java.io.BufferedReader; import java.util.logging.Logger; import java.util.Map; import java.util.Set; +import java.net.MalformedURLException; /** * @author yonik @@ -45,6 +47,14 @@ public class SolrServlet extends HttpServlet { public void init() throws ServletException { + ServletContext ctx = getServletContext(); + try { + System.out.println("RESOURCE URL FOR .="+ctx.getResource("/select")); + } catch (MalformedURLException e) { + e.printStackTrace(); + } + + log.info("user.dir=" + System.getProperty("user.dir")); core = SolrCore.getSolrCore(); xmlResponseWriter=new XMLResponseWriter();