Re: merely a suggestion: schema.xml validator or better schema validation logging

2007-03-01 Thread Bertrand Delacretaz
On 3/2/07, Jed Reynolds <[EMAIL PROTECTED]> wrote: ...my first try at defining a schema.xml file was tough because my only feedback for a long time was "NullPointerException" from SolrCore when I was trying to add content... Can you give us enough information to reproduce the problem? What was

merely a suggestion: schema.xml validator or better schema validation logging

2007-03-01 Thread Jed Reynolds
First time user. Not interested in flamewar, just making a suggestion. I just got Solr working with my own schema and it was only a little more mysterious than I expected, having previously dealth with Nutch. Solr is exactly what I wanted in terms of (theoretical) ease of configurability. How

Re: Casting Exception with Similarity

2007-03-01 Thread Chris Hostetter
: class cast exceptions when I try to use my own similarity class, like this: : public class TestSimilarity extends DefaultSimilarity : { : } I have two alternate guesses 1) this may be a missleading error message, the real problem may be that without a default constructor, it can't instan

Re: 'accumulate' copyField for faceting

2007-03-01 Thread Mike Klaas
On 3/1/07, Graham Stead <[EMAIL PROTECTED]> wrote: Sorry for interloping, but I have been wondering the same thing as Ryan. On my current index with ~6.1M docs, I restarted Solr and ran a query that included faceting on 4 fields: Non-tokenized, single valued. Then I added faceting on a 5th,

RE: 'accumulate' copyField for faceting

2007-03-01 Thread Graham Stead
Sorry for interloping, but I have been wondering the same thing as Ryan. On my current index with ~6.1M docs, I restarted Solr and ran a query that included faceting on 4 fields: QTime: 5712 numFound: 25908 filterCache stats: lookups : 0 hits : 0 hitratio : 0.00 ins

Re: 'accumulate' copyField for faceting

2007-03-01 Thread Yonik Seeley
On 3/1/07, Ryan McKinley <[EMAIL PROTECTED]> wrote: Well, I'll let you all know how it goes to facet on the (>70) cities/counties in the united states! Heh... how many documents? I'll be interested in seeing some numbers. The number of documents matching the base query and filters will also f

Re: 'accumulate' copyField for faceting

2007-03-01 Thread Ryan McKinley
On 3/1/07, Mike Klaas <[EMAIL PROTECTED]> wrote: On 3/1/07, Ryan McKinley <[EMAIL PROTECTED]> wrote: > Am i missing something? I think you're missing that the parameter that matters is the number of unique values on which you facet. Whether they come from a single-valued, tokenized field, or a

Re: 'accumulate' copyField for faceting

2007-03-01 Thread Mike Klaas
On 3/1/07, Ryan McKinley <[EMAIL PROTECTED]> wrote: Am i missing something? I think you're missing that the parameter that matters is the number of unique values on which you facet. Whether they come from a single-valued, tokenized field, or a multi-valued, non-tokenized field, makes to diffe

Re: 'accumulate' copyField for faceting

2007-03-01 Thread Ryan McKinley
On 3/1/07, Yonik Seeley <[EMAIL PROTECTED]> wrote: On 3/1/07, Ryan McKinley <[EMAIL PROTECTED]> wrote: > Faceting is much happier if you use a single valued field, but my apps > all require multivalued fields: If by "happy" you mean performance, things should be better in the future though. y

Re: 'accumulate' copyField for faceting

2007-03-01 Thread Yonik Seeley
On 3/1/07, Ryan McKinley <[EMAIL PROTECTED]> wrote: Faceting is much happier if you use a single valued field, but my apps all require multivalued fields: If by "happy" you mean performance, things should be better in the future though. aaa bbb ccc I'd like to use copyField to ac

'accumulate' copyField for faceting

2007-03-01 Thread Ryan McKinley
Faceting is much happier if you use a single valued field, but my apps all require multivalued fields: aaa bbb ccc I'd like to use copyField to accumulate the multivalued fields into a single field that can be efficiently faceted. (As written, it adds a new field for each one and throws a

unsubscribe

2007-03-01 Thread Vic Cekvenich
unsubscribe

Re: facet optimizing

2007-03-01 Thread Yonik Seeley
On 3/1/07, Gunther, Andrew <[EMAIL PROTECTED]> wrote: Can someone post their magic formula for filterCache (Erik?) We've hit a plateau around 1.7mill docs and my response times have suffered when filtering. Is this for field faceting (facet.field)? Have adjusted filtercache up and down all d

RE: facet optimizing

2007-03-01 Thread Gunther, Andrew
Back on facet optimizing again. Can someone post their magic formula for filterCache (Erik?) We've hit a plateau around 1.7mill docs and my response times have suffered when filtering. Have adjusted filtercache up and down all day but can't seem to get a good handle on these values. What does

Casting Exception with Similarity

2007-03-01 Thread Tim Patton
I'm trying toconvert some of my code over to Solr, but I keep getting class cast exceptions when I try to use my own similarity class, like this: Caused by: java.lang.ClassCastException: dealcatcher.kolinka.lucene.similarity.T estSimilarity cannot be cast to org.apache.lucene.search.Similarity

Re: how to interpret the Solr score ?

2007-03-01 Thread Yonik Seeley
On 3/1/07, Pierre-Yves LANDRON <[EMAIL PROTECTED]> wrote: I haven't seen that maxScore you're speaking about. It's exactly what I needed. It's an attribute in when you elect to return scores. 0 0 score,* ipod on 2.4851787 electronicsconnector car power adapter for iPod, white I

Re: how to interpret the Solr score ?

2007-03-01 Thread Pierre-Yves LANDRON
Thank you Yonik, I haven't seen that maxScore you're speaking about. It's exactly what I needed. Cheers, P-Y L From: "Yonik Seeley" <[EMAIL PROTECTED]> Reply-To: solr-user@lucene.apache.org To: solr-user@lucene.apache.org Subject: Re: how to interpret the Solr score ? Date: Wed, 28 Feb 2007