Re: Integrated Spellchecking
Allocating some time to this next week. Need to try and remember what issues I was having when I stopped working on it. doug Matthew Runo wrote: I'd have to agree with this. I'd probably be able to put a bit of work into it as well, as it's something we'd use for sure if it were available. Thanks! Matthew Runo Software Developer Zappos.com 702.943.7833 On Feb 18, 2008, at 6:09 AM, Grant Ingersoll wrote: Hey Doug, If you have permission to donate, perhaps you can just post the patch anyway and state that it isn't quite ready to go. This is something I could use too, and so may have some cycles to work on it. I hate to replicate the work if you already have something that is more or less working. A half baked patch is better than no patch. -Grant On Feb 15, 2008, at 12:45 PM, Doug Steigerwald wrote: That unfortunately got pushed aside to work on some of our higher priority solr work since we already had it working one way. Hoping to revisit this after we push to production and start working on new features and share what I've done for this and multicore/spellcheck replication (which we have working quite well in QA right now). Doug Steigerwald Software Developer McClatchy Interactive [EMAIL PROTECTED] 919.861.1287 oleg_gnatovskiy wrote: dsteiger wrote: I've got a couple search components for automatic spell correction that I've been working on. I've converted most of the SpellCheckerRequestHandler to a search component (hopefully will throw a patch out soon for this). Then another search component that will do auto correction for a query if the search returns zero results. We're hoping to see some performance improvements out of handling this in Solr instead of our Rails service. doug Ryan McKinley wrote: Yes -- this is what search components are for! Depending on where you put it in the chain, it could only return spell checked results if there are too few results (or the top score is below some threshold) ryan Grant Ingersoll wrote: Is it feasible to submit a query to any of the various handlers and have it bring back results and spelling suggestions all in one response? Is this something the query components piece would handle, assuming one exists for the spell checker? Thanks, Grant So have you succeeded in implementing this patch? I'd definitely like to use this functionality as a search suggestion.
Re: Integrated Spellchecking
Sure. I'll try to post it today or tomorrow. Doug Steigerwald Software Developer McClatchy Interactive [EMAIL PROTECTED] 919.861.1287 Otis Gospodnetic wrote: Hey Doug, You have multicore/spellcheck replication going already? We have been working on the replication for multicore. Sounds like we are replicating each others work. When will you be able to attach your stuff to JIRA issue? https://issues.apache.org/jira/browse/SOLR-433 Thanks, Otis -- Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch - Original Message From: Doug Steigerwald <[EMAIL PROTECTED]> To: solr-user@lucene.apache.org Sent: Friday, February 15, 2008 12:45:08 PM Subject: Re: Integrated Spellchecking That unfortunately got pushed aside to work on some of our higher priority solr work since we already had it working one way. Hoping to revisit this after we push to production and start working on new features and share what I've done for this and multicore/spellcheck replication (which we have working quite well in QA right now). Doug Steigerwald Software Developer McClatchy Interactive [EMAIL PROTECTED] 919.861.1287 oleg_gnatovskiy wrote: dsteiger wrote: I've got a couple search components for automatic spell correction that I've been working on. I've converted most of the SpellCheckerRequestHandler to a search component (hopefully will throw a patch out soon for this). Then another search component that will do auto correction for a query if the search returns zero results. We're hoping to see some performance improvements out of handling this in Solr instead of our Rails service. doug Ryan McKinley wrote: Yes -- this is what search components are for! Depending on where you put it in the chain, it could only return spell checked results if there are too few results (or the top score is below some threshold) ryan Grant Ingersoll wrote: Is it feasible to submit a query to any of the various handlers and have it bring back results and spelling suggestions all in one response? Is this something the query components piece would handle, assuming one exists for the spell checker? Thanks, Grant So have you succeeded in implementing this patch? I'd definitely like to use this functionality as a search suggestion.
AW: Solr in Windows XP + JDK 5 + Tomcat 6.0.13
It should work if you use -Dsolr.home=... instead of -Dsolr.solr.home=... Or is this just a copy and paste error? Jens -Ursprüngliche Nachricht- Von: Alejandro Valdez [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 19. Februar 2008 20:37 An: solr-user@lucene.apache.org Betreff: Re: Solr in Windows XP + JDK 5 + Tomcat 6.0.13 I updated the tomcat startup bat to: set JAVA_OPTS=-Dsolr.solr.home=C:\xampp\tomcat\webapps\solr -Duser.language=en and to: set JAVA_OPTS=-Dsolr.solr.home=C:/xampp/tomcat/webapps/solr -Duser.language=en I'm still getting the same error: --- HTTP Status 404 - /solr/admin type Status report message /solr/admin description The requested resource (/solr/admin) is not available. Apache Tomcat/6.0.13 I opened http://localhost:8080/manager/html and I can see a line that says: /solr true0 'true' means that the solr application is running... :-( On Feb 19, 2008 5:16 PM, Shalin Shekhar Mangar <[EMAIL PROTECTED]> wrote: > In that case, your solr.solr.home should be > "C:/xampp/tomcat/webapps/solr". Remove the conf at the end. I would > suggest keeping the conf in a separate place though. > > > On Feb 19, 2008 10:46 PM, Alejandro Valdez <[EMAIL PROTECTED]> wrote: > > Hi, I copied the content of the directory examples/solr to > > C:\xampp\tomcat\webapps\solr and updated the tomcat startup bat to: > > > > set JAVA_OPTS=-Dsolr.solr.home=C:\xampp\tomcat\webapps\solr\conf > > -Duser.language=en > > > > I get the same 404 error when open http://127.0.0.1:8080/solr/admin, > > and there is no error message in the tomcat logs. > > > > If I start Solr from the example directory using jetty it's start ok > > and the admin page shows ok. > > > > Any help would be very appreciated. > > > > > > > > > > > > On Feb 19, 2008 2:49 PM, Shalin Shekhar Mangar <[EMAIL PROTECTED]> wrote: > > > The problem is that your SOLR home is incorrect. You're making > > > -Dsolr.solr.home point to the deployed solr webapp inside solr. It > > > should actually point to a directory which contains conf folder > > > containing solrconfig.xml and schema.xml. > > > > > > For an example configuration folder see example/solr supplied with solr > > > builds. > > > > > > > > > On Feb 19, 2008 10:02 PM, Alejandro Valdez <[EMAIL PROTECTED]> wrote: > > > > Hello, I'm trying to install Solr in Windows but it's not working. > > > > > > > > I followed the instructions at > > > > http://wiki.apache.org/solr/SolrTomcat for configuring Solr in Windows. > > > > > > > > If I open the localhost tomcat URL (http://localhost:8080/) it > > > > shows the tomcat page. > > > > > > > > If I open the localhost URL for my project > > > > (http://localhost:8080/myproject) it works ok. > > > > > > > > But if I open the Solr URL (http://localhost:8080/solr/admin) It > > > > fails with tomcat's 404 error. > > > > > > > > The files are correctly deployed in the webapps directory... > > > > > > > > The tomcat's log says "Feb 19, 2008 2:24:54 PM > > > > org.apache.catalina.startup.HostConfig deployWAR > > > > INFO: Deploying web application archive solr.war" but it still > > > > don't work :-( > > > > > > > > > > > > Any clue? > > > > > > > > > > > > > > > > > > > > This is the tomcat_start.bat > > > > -- > > > > set JAVA_HOME=C:\Sun\SDK\jdk > > > > set workers.catalina_home=c:\xampp\tomcat > > > > set workers.java_home=C:\Sun\SDK\jdk set > > > > TOMCAT_HOME=c:\xampp\tomcat set TOMCAT_BASE=c:\xampp\tomcat set > > > > CLASSPATH=c:\xampp\tomcat;C:\Sun\SDK\jdk\lib\tools.jar > > > > set CATALINA_BASE=c:\xampp\tomcat set > > > > CATALINA_HOME=c:\xampp\tomcat set > > > > JAVA_OPTS=-Dsolr.solr.home=c:\xampp\tomcat\webapps\solr > > > > -Duser.language=en tomcat\bin\catalina.bat start > > > > -- > > > > > > > > This is the output when Tomcat start: > > > > -- > > > > Feb 19, 2008 2:24:54 PM > > > > org.apache.catalina.core.AprLifecycleListener init > > > > INFO: The Apache Tomcat Native library which allows optimal > > > > performance in produ ction environments was not found on the > > > > java.library.path: C:\Sun\SDK\jdk\bin;.; > > > > C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOW > > > > S\system32;C:\WI NDOWS;C:\WINDOWS\System32\Wbem;c:\Archivos de > > > > programa\python25;C:\Sun\SDK\jdk\j > > > > re\bin;C:\Sun\SDK\bin;C:\Archivos de programa\CollabNet > > > > Subversion Server Feb 19, 2008 2:24:54 PM > > > > org.apache.coyote.http11.Http11Protocol init > > > > INFO: Initializing Coyote HTTP/1.1 on http-8080 Feb 19, 2008 > > > > 2:24:54 PM org.apache.catalina.startup.Catalina load > > > > INFO: Initialization processed in 523 ms Feb 19, 2008 2:24:54 PM > > > > org.apache.catalina.core.StandardService start > > > > INFO: Starting service Catalina > > > > Feb 19, 2008 2:24:54 PM org.apache.catalina.core.StandardEngine > > > > start > > > > INFO: Starting Servlet Engine: Apache Tomcat/6.0.13 Feb 19, 2008 > > > > 2:
Re: custom handler results don't seem to match manually entered query string
Can I provide some additional information of any kind? -- View this message in context: http://www.nabble.com/custom-handler-results-don%27t-seem-to-match-manually-entered-query-string-tp15544268p15590448.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: Integrated Spellchecking
Posted our patches if anyone wants to take a look: https://issues.apache.org/jira/browse/SOLR-433 Small change to core.RunExecutableListener and all the changes to the shell scripts. All these scripts seem to run fine on RHEL-3 and RHEL-5.1 servers. doug Doug Steigerwald wrote: Sure. I'll try to post it today or tomorrow. Doug Steigerwald Software Developer McClatchy Interactive [EMAIL PROTECTED] 919.861.1287 Otis Gospodnetic wrote: Hey Doug, You have multicore/spellcheck replication going already? We have been working on the replication for multicore. Sounds like we are replicating each others work. When will you be able to attach your stuff to JIRA issue? https://issues.apache.org/jira/browse/SOLR-433 Thanks, Otis -- Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch - Original Message From: Doug Steigerwald <[EMAIL PROTECTED]> To: solr-user@lucene.apache.org Sent: Friday, February 15, 2008 12:45:08 PM Subject: Re: Integrated Spellchecking That unfortunately got pushed aside to work on some of our higher priority solr work since we already had it working one way. Hoping to revisit this after we push to production and start working on new features and share what I've done for this and multicore/spellcheck replication (which we have working quite well in QA right now). Doug Steigerwald Software Developer McClatchy Interactive [EMAIL PROTECTED] 919.861.1287 oleg_gnatovskiy wrote: dsteiger wrote: I've got a couple search components for automatic spell correction that I've been working on. I've converted most of the SpellCheckerRequestHandler to a search component (hopefully will throw a patch out soon for this). Then another search component that will do auto correction for a query if the search returns zero results. We're hoping to see some performance improvements out of handling this in Solr instead of our Rails service. doug Ryan McKinley wrote: Yes -- this is what search components are for! Depending on where you put it in the chain, it could only return spell checked results if there are too few results (or the top score is below some threshold) ryan Grant Ingersoll wrote: Is it feasible to submit a query to any of the various handlers and have it bring back results and spelling suggestions all in one response? Is this something the query components piece would handle, assuming one exists for the spell checker? Thanks, Grant So have you succeeded in implementing this patch? I'd definitely like to use this functionality as a search suggestion.
YAML update request handler
A few months back I wrote a YAML update request handler to see if we could post documents faster than with XMl. We did see some small speed improvements (didn't write down the numbers), but the hacked together code was probably making it slower as well. Not sure if there are faster YAML libraries out there either. We're not actually using it, since it was just a small proof of concept type of project, but is this anything people might be interested in? -- Doug Steigerwald
Re: Search Performance When There Are Many Segments
And yet, if you are experiencing performance problems, consider optimizing regularly. If not, why worry? -Mike On 19-Feb-08, at 4:17 PM, Otis Gospodnetic wrote: Hi, If your mergeFactor is "reasonable" (e.g. default 10), Lucene will keep the number of segments in the index under control. Your index will not be optimized at all times, but the number of segments will not be astronomical and not having a single-segment (i.e. optimized) index will not cause you headaches. I have some large indices over at simpy.com and I *never* optimize them. They grow and shrink as new docs are added to them, but never explode. Otis -- Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch - Original Message From: fireofenigma <[EMAIL PROTECTED]> To: solr-user@lucene.apache.org Sent: Tuesday, February 19, 2008 6:30:34 PM Subject: Search Performance When There Are Many Segments Let me start with an example application/scenario. I have an application that allows users to upload their documents that will eventually be added to the index. Every 10 documents, I commit(). Do I ever need to make a call to optimize() to optimize the index or does Solr have a default behavior when to call optimize()? Regardless, if optimize() never gets called after say 1000 calls to commit() with each commit adding 10 documents to the index, does that have an adverse effect to the search speed? Let's assume I'm using a compound-file index. Any insight is greatly appreciated. Thanks! -- View this message in context: http://www.nabble.com/Search-Performance-When-There-Are-Many-Segments-tp15578740p15578740.html Sent from the Solr - User mailing list archive at Nabble.com.
Solr 1.2 example apps
Is there a repository of sample applications for SOLR; something more than what comes with the installer? I'm particularly interested in faceted browsing. I have located an example from developerWorks but it seems to be not working with 1.2. pt Paul Treszczotko Architect, Client Systems INPUT 11720 Plaza America Drive, Suite 1200 Reston, Virginia 20190 Direct: 703-707-3524; Fax 703-707-6201 This email and any files transmitted with it are confidential and are intended solely for the use of the individual or entity to which they are addressed. If you are not the intended recipient or the person responsible for delivering the email to the intended recipient, be advised that you have received this email and any such files in error and that any use, dissemination, forwarding, printing or copying of this email and/or any such files is strictly prohibited. If you have received this email in error please immediately notify [EMAIL PROTECTED] and destroy the original message and any such files.
Threads in Solr
Hello, I'm overwriting getFacetInfo(...) method from standard request handler (BTW: thanks for making a separate method for faceting :-)) What I need is to ran original query several times with filter query which I generate based on result from original query. Bellow is part of my code. I was thinking may be I could run those queries not one by one but in parallel, in separate threads. But it appears that it takes longer than to run queries one by one. Do you have any idea why? Do you think the idea to run those queries in separate threads is good in general? Are SolrIndexSearcher and SimpleFacets thread safe? Thank you Gene -- protected NamedList getFacetInfo(SolrQueryRequest req, SolrQueryResponse rsp, DocSet mainSet) { SimpleFacets f = new SimpleFacets(req.getSearcher(), mainSet, req.getParams()); NamedList facetInfo = f.getFacetCounts(); // This is custom code for multi facets .. Truncated .. for (int i = 0; i < shortFld.size(); i++) { SolrQueryParser qp = new SolrQueryParser(s.getSchema(), null); Query q = qp.parse(shortFldName + ":" + shortFld.getName(i)); filters.add(q); DocListAndSet matrixRes = s.getDocListAndSet(query, filters, null, 0, 0, flags); NamedList matr = new SimpleFacets(req.getSearcher(), matrixRes.docSet, req.getParams()).getFacetCounts(); facetFields.add(shortFld.getName(i), matr.get("facet_fields")); filters.remove(q); } .. Truncated .. return facetInfo; }
*newbie* Wildcards are not working correctly
Hi, i am having problems with solr searches. I am using the following configuration for my text fields Using the web interface I try the following things Text:Berlin Feb 20, 2008 8:37:54 PM org.apache.solr.core.SolrCore execute INFO: null indent=on&start=0&q=text:Berlin&version=2.2&rows=10 0 1 I get 2863 results (also for text:"Berlin") text:"Berl*" finds 8 occurences ( shouldnt that be at least 2863?) the search for Be*n returns 1 hit I can't explain why, does anybody have a clue? Version informations Solr Implementation Version: 1.2.0 - Yonik - 2007-06-02 17:35:12 Lucene Implementation Version: build 2007-05-20 org.apache.solr.request.StandardRequestHandler version: $Revision: 542679 $ Thanks for any help, Christoph
Re: YAML update request handler
On Feb 20, 2008, at 9:31 AM, Doug Steigerwald wrote: A few months back I wrote a YAML update request handler to see if we could post documents faster than with XMl. We did see some small speed improvements (didn't write down the numbers), but the hacked together code was probably making it slower as well. Not sure if there are faster YAML libraries out there either. We're not actually using it, since it was just a small proof of concept type of project, but is this anything people might be interested in? Out of simple preference I would love to see a YAML request handler just because I like the YAML format. If its also faster than XML, then all the better. Cheers Alec
Search terms in the result
Hi guys, I'm not a total newbie (but almost) to Solr, but I would like a clarification about the XML format returned by a search query: in fact, I cannot find any official document describing the precise format of the document returned. Particularly, I'm interested in understanding if search terms of the query would be returned in the result, as happens in Lucene. Thanks for your help: I guess it will happen many times more I will ask for it... :) Antonello
Re: Solr in Windows XP + JDK 5 + Tomcat 6.0.13
Hi, I changed that line to: set JAVA_OPTS=-Dsolr.home=C:\xampp\tomcat\webapps\solr -Duser.language=en But It STILL isn't working...I almost give up :-( When I try to open http://localhost:8080/solr/admin, I get: --- HTTP Status 404 - /solr/admin type Status report message /solr/admin description The requested resource (/solr/admin) is not available. Apache Tomcat/6.0.13 --- Someone should fix the page http://wiki.apache.org/solr/SolrTomcat, there says that should be used -Dsolr.solr.home=... : "Use the system tray icon to configure Tomcat to start with the following Java option: -Dsolr.solr.home=c:\web\solr" Here is the output of Tomcat when started: - Feb 20, 2008 8:27:59 PM org.apache.catalina.core.AprLifecycleListener init INFO: The Apache Tomcat Native library which allows optimal performance in produ ction environments was not found on the java.library.path: C:\Sun\SDK\jdk\bin;.; C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32;C:\WI NDOWS;C:\WINDOWS\System32\Wbem;c:\Archivos de programa\python25;C:\Sun\SDK\jdk\j re\bin;C:\Sun\SDK\bin;C:\Archivos de programa\CollabNet Subversion Server Feb 20, 2008 8:27:59 PM org.apache.coyote.http11.Http11Protocol init INFO: Initializing Coyote HTTP/1.1 on http-8080 Feb 20, 2008 8:27:59 PM org.apache.catalina.startup.Catalina load INFO: Initialization processed in 522 ms Feb 20, 2008 8:27:59 PM org.apache.catalina.core.StandardService start INFO: Starting service Catalina Feb 20, 2008 8:27:59 PM org.apache.catalina.core.StandardEngine start INFO: Starting Servlet Engine: Apache Tomcat/6.0.13 Feb 20, 2008 8:27:59 PM org.apache.catalina.startup.HostConfig deployWAR INFO: Deploying web application archive solr.war Feb 20, 2008 8:28:00 PM com.sun.faces.config.ConfigureListener contextInitialize d INFO: Initializing Sun's JavaServer Faces implementation (1.2_04-b07-FCS) for co ntext '/myproject' log4j:WARN No appenders could be found for logger (org.ajax4jsf.application.Debu gLifecycleFactory). log4j:WARN Please initialize the log4j system properly. Feb 20, 2008 8:28:02 PM org.apache.coyote.http11.Http11Protocol start INFO: Starting Coyote HTTP/1.1 on http-8080 Feb 20, 2008 8:28:02 PM org.apache.jk.common.ChannelSocket init INFO: JK: ajp13 listening on /0.0.0.0:8009 Feb 20, 2008 8:28:02 PM org.apache.jk.server.JkMain start INFO: Jk running ID=0 time=0/31 config=null Feb 20, 2008 8:28:02 PM org.apache.catalina.startup.Catalina start INFO: Server startup in 3557 ms On Wed, Feb 20, 2008 at 12:33 PM, Hausherr, Jens <[EMAIL PROTECTED]> wrote: > It should work if you use -Dsolr.home=... instead of -Dsolr.solr.home=... > > Or is this just a copy and paste error? > > Jens > > -Ursprüngliche Nachricht- > Von: Alejandro Valdez [mailto:[EMAIL PROTECTED] > Gesendet: Dienstag, 19. Februar 2008 20:37 > An: solr-user@lucene.apache.org > Betreff: Re: Solr in Windows XP + JDK 5 + Tomcat 6.0.13 > > > > I updated the tomcat startup bat to: > > set JAVA_OPTS=-Dsolr.solr.home=C:\xampp\tomcat\webapps\solr > -Duser.language=en > > and to: > > set JAVA_OPTS=-Dsolr.solr.home=C:/xampp/tomcat/webapps/solr > -Duser.language=en > > I'm still getting the same error: > > --- > HTTP Status 404 - /solr/admin > > type Status report > > message /solr/admin > > description The requested resource (/solr/admin) is not available. > Apache Tomcat/6.0.13 > > > > > I opened http://localhost:8080/manager/html and I can see a line that says: > > /solr true0 > > 'true' means that the solr application is running... > > > :-( > > > > > > > > > On Feb 19, 2008 5:16 PM, Shalin Shekhar Mangar <[EMAIL PROTECTED]> wrote: > > In that case, your solr.solr.home should be > > "C:/xampp/tomcat/webapps/solr". Remove the conf at the end. I would > > suggest keeping the conf in a separate place though. > > > > > > On Feb 19, 2008 10:46 PM, Alejandro Valdez <[EMAIL PROTECTED]> wrote: > > > Hi, I copied the content of the directory examples/solr to > > > C:\xampp\tomcat\webapps\solr and updated the tomcat startup bat to: > > > > > > set JAVA_OPTS=-Dsolr.solr.home=C:\xampp\tomcat\webapps\solr\conf > > > -Duser.language=en > > > > > > I get the same 404 error when open http://127.0.0.1:8080/solr/admin, > > > and there is no error message in the tomcat logs. > > > > > > If I start Solr from the example directory using jetty it's start ok > > > and the admin page shows ok. > > > > > > Any help would be very appreciated. > > > > > > > > > > > > > > > > > > On Feb 19, 2008 2:49 PM, Shalin Shekhar Mangar <[EMAIL PROTECTED]> wrote: > > > > The problem is that your SOLR home is incorrect. You're making > > > > -Dsolr.solr.home point to the deployed solr webapp inside solr. It > > > > should actually point to a directory which contains conf folder > > > > containing solrconfig.xml and schema.xml. > > > > > > > > For an example configuration folder see example/solr supplied with > solr bui
RE: Solr in Windows XP + JDK 5 + Tomcat 6.0.13
Try -Dsolr.solr.home instead of -Dsolr.home -Original Message- From: Alejandro Valdez [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 20, 2008 5:33 PM To: solr-user@lucene.apache.org Subject: Re: Solr in Windows XP + JDK 5 + Tomcat 6.0.13 Hi, I changed that line to: set JAVA_OPTS=-Dsolr.home=C:\xampp\tomcat\webapps\solr -Duser.language=en But It STILL isn't working...I almost give up :-( When I try to open http://localhost:8080/solr/admin, I get: --- HTTP Status 404 - /solr/admin type Status report message /solr/admin description The requested resource (/solr/admin) is not available. Apache Tomcat/6.0.13 --- Someone should fix the page http://wiki.apache.org/solr/SolrTomcat, there says that should be used -Dsolr.solr.home=... : "Use the system tray icon to configure Tomcat to start with the following Java option: -Dsolr.solr.home=c:\web\solr" Here is the output of Tomcat when started: - Feb 20, 2008 8:27:59 PM org.apache.catalina.core.AprLifecycleListener init INFO: The Apache Tomcat Native library which allows optimal performance in produ ction environments was not found on the java.library.path: C:\Sun\SDK\jdk\bin;.; C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32;C:\WI NDOWS;C:\WINDOWS\System32\Wbem;c:\Archivos de programa\python25;C:\Sun\SDK\jdk\j re\bin;C:\Sun\SDK\bin;C:\Archivos de programa\CollabNet Subversion Server Feb 20, 2008 8:27:59 PM org.apache.coyote.http11.Http11Protocol init INFO: Initializing Coyote HTTP/1.1 on http-8080 Feb 20, 2008 8:27:59 PM org.apache.catalina.startup.Catalina load INFO: Initialization processed in 522 ms Feb 20, 2008 8:27:59 PM org.apache.catalina.core.StandardService start INFO: Starting service Catalina Feb 20, 2008 8:27:59 PM org.apache.catalina.core.StandardEngine start INFO: Starting Servlet Engine: Apache Tomcat/6.0.13 Feb 20, 2008 8:27:59 PM org.apache.catalina.startup.HostConfig deployWAR INFO: Deploying web application archive solr.war Feb 20, 2008 8:28:00 PM com.sun.faces.config.ConfigureListener contextInitialize d INFO: Initializing Sun's JavaServer Faces implementation (1.2_04-b07-FCS) for co ntext '/myproject' log4j:WARN No appenders could be found for logger (org.ajax4jsf.application.Debu gLifecycleFactory). log4j:WARN Please initialize the log4j system properly. Feb 20, 2008 8:28:02 PM org.apache.coyote.http11.Http11Protocol start INFO: Starting Coyote HTTP/1.1 on http-8080 Feb 20, 2008 8:28:02 PM org.apache.jk.common.ChannelSocket init INFO: JK: ajp13 listening on /0.0.0.0:8009 Feb 20, 2008 8:28:02 PM org.apache.jk.server.JkMain start INFO: Jk running ID=0 time=0/31 config=null Feb 20, 2008 8:28:02 PM org.apache.catalina.startup.Catalina start INFO: Server startup in 3557 ms On Wed, Feb 20, 2008 at 12:33 PM, Hausherr, Jens <[EMAIL PROTECTED]> wrote: > It should work if you use -Dsolr.home=... instead of -Dsolr.solr.home=... > > Or is this just a copy and paste error? > > Jens > > -Ursprüngliche Nachricht- > Von: Alejandro Valdez [mailto:[EMAIL PROTECTED] > Gesendet: Dienstag, 19. Februar 2008 20:37 > An: solr-user@lucene.apache.org > Betreff: Re: Solr in Windows XP + JDK 5 + Tomcat 6.0.13 > > > > I updated the tomcat startup bat to: > > set JAVA_OPTS=-Dsolr.solr.home=C:\xampp\tomcat\webapps\solr > -Duser.language=en > > and to: > > set JAVA_OPTS=-Dsolr.solr.home=C:/xampp/tomcat/webapps/solr > -Duser.language=en > > I'm still getting the same error: > > --- > HTTP Status 404 - /solr/admin > > type Status report > > message /solr/admin > > description The requested resource (/solr/admin) is not available. > Apache Tomcat/6.0.13 > > > > > I opened http://localhost:8080/manager/html and I can see a line that says: > > /solr true0 > > 'true' means that the solr application is running... > > > :-( > > > > > > > > > On Feb 19, 2008 5:16 PM, Shalin Shekhar Mangar <[EMAIL PROTECTED]> wrote: > > In that case, your solr.solr.home should be > > "C:/xampp/tomcat/webapps/solr". Remove the conf at the end. I would > > suggest keeping the conf in a separate place though. > > > > > > On Feb 19, 2008 10:46 PM, Alejandro Valdez <[EMAIL PROTECTED]> wrote: > > > Hi, I copied the content of the directory examples/solr to > > > C:\xampp\tomcat\webapps\solr and updated the tomcat startup bat to: > > > > > > set JAVA_OPTS=-Dsolr.solr.home=C:\xampp\tomcat\webapps\solr\conf > > > -Duser.language=en > > > > > > I get the same 404 error when open http://127.0.0.1:8080/solr/admin, > > > and there is no error message in the tomcat logs. > > > > > > If I start Solr from the example directory using jetty it's start ok > > > and the admin page shows ok. > > > > > > Any help would be very appreciated. > > > > > > > > > > > > > > > > > > On Feb 19, 2008 2:49 PM, Shalin Shekhar Mangar <[EMAIL PROTECTED]> wrote: > > > > The problem is that your SOLR home is incorrect. You're making > > > > -Dsolr.solr.home point to the depl
Re: Solr in Windows XP + JDK 5 + Tomcat 6.0.13
On Wed, Feb 20, 2008 at 5:32 PM, Alejandro Valdez <[EMAIL PROTECTED]> wrote: > Hi, I changed that line to: > > set JAVA_OPTS=-Dsolr.home=C:\xampp\tomcat\webapps\solr -Duser.language=en > > But It STILL isn't working...I almost give up :-( > > When I try to open http://localhost:8080/solr/admin, I get: > > --- > HTTP Status 404 - /solr/admin > type Status report > message /solr/admin > description The requested resource (/solr/admin) is not available. > Apache Tomcat/6.0.13 > --- > > > Someone should fix the page http://wiki.apache.org/solr/SolrTomcat, > there says that should be used -Dsolr.solr.home=... : solr.solr.home is the correct variable. Try putting the solr home (the contents of solr/example) outside the webapps directory. Only solr.war should go inside webapps. You could also try the "simple example install" from here: http://wiki.apache.org/solr/SolrTomcat -Yonik
Re: Transform Update responses with XSLT?
On Fri, 15 Feb 2008 11:09:45 +0100 Maximilian Hütter <[EMAIL PROTECTED]> wrote: > Hi, > > is there a way to transform a Solr update response with a XSLT-Stylesheet? > > It looks like the XSLTResponseWriter is only used for searches. > > Best regards, > > Max > Hi Maximilian, yes, it is definitely doable out of the box. http://wiki.apache.org/solr/XsltResponseWriter?highlight=%28CategoryQueryResponseWriter%29%7C%28%28CategoryQueryResponseWriter%29%29 I've used it with no problems..but then decided to return to the default XML and let the XSTL transforms in the hands of the web dev guys. Cheers, B _ {Beto|Norberto|Numard} Meijome "A dream you dream together is reality." John Lennon I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned.
How do I secure solr server?
Hi guys, I run solr on a separate server from the application server and I'd like to know how to protect it. I'd like to know how to prevent someone from communicating to the server and also prevent unauthorized access (through the web) to admin page. Any help is extremely appreciated!! :) Thanks, Mel