Re: Search Performance When There Are Many Segments

2008-02-19 Thread Otis Gospodnetic
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 caus

Search Performance When There Are Many Segments

2008-02-19 Thread fireofenigma
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 w

Re: solr to work for my web application

2008-02-19 Thread Thorsten Scherler
On Thu, 2008-02-14 at 23:16 -0800, newBea wrote: > Hi Thorsten... > > SOrry for giving u much trouble but I need some answer regarding solr...plz > help... > > Question1 > I am using tomcat 5.5.23 so for JNDI setup of solr, adding solr.xml with > context fragment as below in the tomcat5.5/...cata

Re: Integrated Spellchecking

2008-02-19 Thread Otis Gospodnetic
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, Ot

Re: Converting Solr results to java query/collection/map object

2008-02-19 Thread Brian Whitman
On Feb 19, 2008, at 3:08 PM, Paul Treszczotko wrote: Hi, I'm pretty new to SOLR and I'd like to ask your opinion on the best practice for converting XML results you get from SOLR into something that is better fit to display on a webpage. I'm looking for performance and relatively small foo

Converting Solr results to java query/collection/map object

2008-02-19 Thread Paul Treszczotko
Hi, I'm pretty new to SOLR and I'd like to ask your opinion on the best practice for converting XML results you get from SOLR into something that is better fit to display on a webpage. I'm looking for performance and relatively small footprint, perhaps ability to paginate thru the result set and

Re: Solr in Windows XP + JDK 5 + Tomcat 6.0.13

2008-02-19 Thread Alejandro Valdez
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 Statu

Re: Solr in Windows XP + JDK 5 + Tomcat 6.0.13

2008-02-19 Thread Shalin Shekhar Mangar
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 >

Re: DisMax deprecated?

2008-02-19 Thread Sean Timm
That is one of my peeves with the Solr Javadocs. Few of the @deprecated tags (if any) tell what you should be using instead. In this particular case, the answer is very simple. The class merely moved to a new package: from http://lucene.apache.org/solr/api/org/apache/solr/request/DisMaxReques

RE: escaping special chars in query

2008-02-19 Thread Lance Norskog
You may also use Unicode escapes: \u for example. -Original Message- From: Reece [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 19, 2008 10:04 AM To: solr-user@lucene.apache.org Subject: Re: escaping special chars in query The bottom of the Lucene query syntax page: http://lucene

DisMax deprecated?

2008-02-19 Thread Mark Mzyk
I have a question that probably should be obvious, but I haven't been able to figure it out. In the Solr docs, it lists the DisMaxRequestHandler as deprecated. This is fine, but I haven't been able to figure out what I should be using instead. Can someone give me a hint or point me to the cor

Re: escaping special chars in query

2008-02-19 Thread Reece
The bottom of the Lucene query syntax page: http://lucene.apache.org/java/docs/queryparsersyntax.html >From the page: Escaping Special Characters Lucene supports escaping special characters that are part of the query syntax. The current list special characters are + - && || ! ( ) { } [ ] ^ " ~ *

Re: Using embedded Solr with admin GUI

2008-02-19 Thread Ryan McKinley
Ken Krugler wrote: If you are running a single webapp, you can just put the jsp files in there. I'm guessing that isn't what you mean though. Well, ultimately we're heading towards a single webapp with multiple embedded Solr cores. In that case, could the .jsp-based GUI/admin functionality p

Re: Solr in Windows XP + JDK 5 + Tomcat 6.0.13

2008-02-19 Thread Alejandro Valdez
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 e

Re: Integrated Spellchecking

2008-02-19 Thread Matthew Runo
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 perm

escaping special chars in query

2008-02-19 Thread zqzuk
Hi, solr have reserved some special chars in building its queries, such as + * : and so on, thus any queries must escape these chars otherwise exceptions will occur. I wonder where can I find a complete list of chars I need escape in the query, and what is the encoding/decoding method (URL?) In

Re: Solr in Windows XP + JDK 5 + Tomcat 6.0.13

2008-02-19 Thread Shalin Shekhar Mangar
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

Solr in Windows XP + JDK 5 + Tomcat 6.0.13

2008-02-19 Thread Alejandro Valdez
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 proje

Re: Transform Update responses with XSLT?

2008-02-19 Thread Maximilian Hütter
Ryan Grange schrieb: > It is absolutely possible to do such a thing. I wish I had more time > right now to create even a sample. Unfortunately while I'm not too bad > at XSLT, I haven't used it often enough to whip something up off the top > of my head with any hope of it working the first time.

Re: Questions about filters and scoring

2008-02-19 Thread Reece
The omitNorms="true" attribute worked perfectly, thanks Yonik! Also, the stopword issue isn't happening anymore, go figure. I probably had a mistype or something as well, Thanks for the help! -Reece On Feb 18, 2008 7:17 PM, Reece <[EMAIL PROTECTED]> wrote: > For #1, I just testing again and f

Bug fix for Solr Python bindings

2008-02-19 Thread James Brady
Hi, Currently, the solr.py Python binding casts all key and value arguments blindly to strings. The following changes deal with Unicode properly and respect multi-valued parameters passed in as lists: 131a132,142 > def __makeField(self, lst, f, v): > if not isinstance(f, basestring):

Re: Filter Query and query score

2008-02-19 Thread tedonk03
Hi, it seems it works now. I put some mistakes on the calculation. But is there any limit to the query size in Solr? Thanx again I tried the code but it seems it's not working properly. I tried to check it by inserting bq=location:Parramatta^1.4 location:NS^1.4 location:North Ryde^1.4 If I us