Ranking Question.

2007-03-08 Thread shai deljo
Hi, Maybe a trivial/stupid questions but: I have a fairly simple schema with a title, tags and description. I have my own ranking/scoring system that takes into account the similarity of each tag to a term in the query but now that i want to include also the title and description (the description

Re: Solr on Tomcat 6.0.10?

2007-03-08 Thread galo
I'm using 6.0.9 and no issues (fingers crossed) Walter Underwood wrote: Is anyone running Solr on Tomcat 6.0.10? Any issues? I searched the archives and didn't see anything. wunder -- Galo Navarro, Developer [EMAIL PROTECTED] t. +44 (0)20 7780 7080 Last.fm | http://www.last.fm Karen

Re: [2] SQL Update

2007-03-08 Thread Debra
I could create a list of field name + type, but doing so I might as well create it and add it to fields in schema.xml. Does solr reread the schema file when I post an add action or only on starup (or someother point)? In general, I wonder if adding the suffix for dynamic fields is not posing

Re: Re[2]: Solr and Multiple Index Partitions

2007-03-08 Thread Erik Hatcher
On Mar 7, 2007, at 9:20 PM, Jack L wrote: Selecting by type will do the job. But I suppose it sacrifice performance because having multiple document types in the same index will render a larger index. Is it bad? A many documents we talking here? My hunch is you'll be fine :) Erik

Re: Solr and Multiple Index Partitions

2007-03-08 Thread Chris Hostetter
: I use a custom Analyzer which extends Lucene's StandardAnalyzer. When I : configured Solr to use this one, It throws an exception : RuntimeException(Can't set positionIncrementGap on custom analyzer + : analyzer.getClass()). : : Do I need to extend a specific Analyzer for it to work with Solr?

Re: Solr and Multiple Index Partitions

2007-03-08 Thread Chris Hostetter
whoops .. forgot the documentaiton link... http://wiki.apache.org/solr/SolrPlugins#head-9939da9abe85a79eb30a026e85cc4aec0beac10c : you can use any Analyzer you want, but you can't configure a : positionIncrementGap in the schema.xml unless your Analyzer extends : SolrAnalyzer (the concept of a

Re: Solr and Multiple Index Partitions

2007-03-08 Thread Venkatesh Seetharam
Thanks Chris for a wonderful explanation. I completely get it now. Thanks for the handy URL too. Venkatesh On 3/8/07, Chris Hostetter [EMAIL PROTECTED] wrote: : I use a custom Analyzer which extends Lucene's StandardAnalyzer. When I : configured Solr to use this one, It throws an exception :

Re: HA and load balancing Qauestion

2007-03-08 Thread Yonik Seeley
On 3/8/07, Venkatesh Seetharam [EMAIL PROTECTED] wrote: Howdy. I'd like to know if I can configure Multiple Solr instances working with a single read-only index partition for failover/HA and load balancing purposes. Or is there any other way that Solr has built-in features to handle the same.

Re: Solr on Tomcat 6.0.10?

2007-03-08 Thread Walter Underwood
Java 1.5.0_05 on Intel and PowerPC (IBM) plus any DST changes. --wunder On 3/8/07 4:08 AM, James liu [EMAIL PROTECTED] wrote: today i use tomcat 6.0.10,,,but no time to search. tomorrow i will test it. which java version you use? 2007/3/8, Walter Underwood [EMAIL PROTECTED]: Is

Re: HA and load balancing Qauestion

2007-03-08 Thread Venkatesh Seetharam
Thanks for the reply Yonik. I'm not using HTTP and using a wrapper to wrap Solr for searching. I'm using RPC to talk to multiple servers. Can I point 2 Solr instances to the same index partition, having the same path in SolrConfig? Is this safe or I need to make 2 copies of the same index

Re: [2] synonym filter fix

2007-03-08 Thread Mike Klaas
On 3/7/07, nick19701 [EMAIL PROTECTED] wrote: thanks mike for your confirmation. it turns out to be tomcat's problem. even though the new build was within tomcat's reach, it didn't use it. After I deleted the folders under tomcat/webapps, the new build was picked up immediately and everything

Re: [2] SQL Update

2007-03-08 Thread Mike Klaas
On 3/8/07, Debra [EMAIL PROTECTED] wrote: I could create a list of field name + type, but doing so I might as well create it and add it to fields in schema.xml. Alternative solution: write a SQL schema - Solr schema mapper. Should be relatively simple, as long as you are confining yourself

Re: HA and load balancing Qauestion

2007-03-08 Thread Venkatesh Seetharam
Thanks Yonik and Chris for your confirmation. Chris, these are read-only index partitions. I perform updates/deletions on a master index which will be snapshotted at some fixed intervals. I'll look into the Collection Distribution of Solr. Sounds very powerful. I'm struck with Solr requiring an

Re: HA and load balancing Qauestion

2007-03-08 Thread Venkatesh Seetharam
Thanks Hoss for the clarification. I think I can make a copy of the index for searching and rename 'em. I think I can work around this one but good to know the bigger picture. Venkatesh On 3/8/07, Chris Hostetter [EMAIL PROTECTED] wrote: : I'm struck with Solr requiring an index directory

stack trace response

2007-03-08 Thread Koji Sekiguchi
Hello, We have a front application server that uses Solr to search our contents. If the front application calls Solr with /select but missing q parameter, Solr returns a stack trace with its response body, while we expect XML response with an error message ( the stack trace in the XML). Is it a

RE: Hierarchical Facets

2007-03-08 Thread Chris Hostetter
: level1Dir1/level1 : level2Dir1/Subdir1/level2 : level3Dir1/Subdir1/SubSubDir1/level3 or something like... level1Dir1/level1 level2Subdir1/level2 level3SubSubDir1/level3 ...but this is why Hierarchical facets are hard. (it just occured to me that this is a differnet hiearchical facets

Re: Ranking Question.

2007-03-08 Thread Chris Hostetter
you need to elaborate a little more on what yo uare currently doing, and what you want to be doing... youmention my own ranking/scoring system ... is this something you've implemented in code already? Is this a custom Simalrity class or Query class, or something basic htat you've done with a

Re: stack trace response

2007-03-08 Thread Ryan McKinley
I agree, the display is a bit weird. But, if you check the response headers it the response code is 400 Bad Request In firefox or IE, you would need to inspect the headers to see what is going on. The issue is that /select uses a servlet that writes out a stack trace for every error it hits