Will turning off the stored setting on a field remove it from the index?

2007-10-12 Thread BrendanD
Hi, We have some fields that we're currently storing in the index (for example product_name, short_description, etc). We'd like to stop storing them in the index as we're going to start faulting them in from the database instead so that the content is fresh. If we change our config to stop stori

Re: autowarm static queries

2007-10-11 Thread BrendanD
Mike Klaas wrote: > > On 11-Oct-07, at 6:47 PM, BrendanD wrote: > >> >> Hi, >> >> I have the following query that I've found in my production logs: >> >> INFO: /select/ >> rows=0&start=0&f.category_id.facet.limit=-1&

autowarm static queries

2007-10-11 Thread BrendanD
Hi, I have the following query that I've found in my production logs: INFO: /select/ rows=0&start=0&f.category_id.facet.limit=-1&facet=true&facet.field=category_id&fq=product_is_active:true&fq=product_status_code:complete&fq=category_id:"1001644"&fq=attribute_id_value_en_pair:"1005585\:Wedding"&

query syntax performance difference?

2007-10-11 Thread BrendanD
Hi, Is there a difference in the performance for the following 2 variations on query syntax? The first query was a response from Solr by using a single fq parameter in the URL. The second query was a response from Solr by using separate fq parameter in the URL, one for each field. product_is_ac

Re: Instant deletes without committing

2007-10-11 Thread BrendanD
ure we're doing lots wrong with our schema and queries to make them so slow. We do have over 3 million documents in our index. Thanks, Brendan Mike Klaas wrote: > > On 11-Oct-07, at 2:47 PM, BrendanD wrote: > >> >> Hi, >> >> Is it possible to send a command t

Instant deletes without committing

2007-10-11 Thread BrendanD
Hi, Is it possible to send a command to have Solr flush the deletesPending documents without doing a commit? I know there's a setting in solrconfig.xml for setting a threshold value, but I'd like to somehow kick it off on demand. We need this to be able to remove merchants from our product listin

Re: Syntax for newSearcher query

2007-10-10 Thread BrendanD
Awesome! Thanks! hossman wrote: > > > : looking queries that I'm not quite sure how to specify in my > solrconfig.xml > : file in the newSearcher section. > > : > rows=20&start=0&facet.query=attribute_id:1003278&facet.query=attribute_id:1003928&sort=merchant_count+desc&facet=true&facet.field=

Syntax for newSearcher query

2007-10-10 Thread BrendanD
Hi, The examples that I've found in the solrconfig.xml file and on this site are fairly basic for pre-warming specific queries. I have some rather complex looking queries that I'm not quite sure how to specify in my solrconfig.xml file in the newSearcher section. Here's an example of 3 queries t

Re: start tag not allowed in epilog

2007-10-10 Thread BrendanD
I've re-written the code to generate separate files. One for adds and one for deletes. And this is working well for us now. Thanks. Mike Klaas wrote: > > > This would be very complicated from a standpoint of returning errors > to the client. > > Keep in mind the can never be batched, rega

Re: start tag not allowed in epilog

2007-10-10 Thread BrendanD
We simply process a queue of updates from a database table. Some of the updates are deletes, some are adds. Sometimes you can have many deletes in a row, sometimes many adds in a row, and sometimes a mixture of deletes and adds. We're trying to batch our updates and were hoping to avoid having to

start tag not allowed in epilog

2007-10-10 Thread BrendanD
Hi, I've got an xml update document that I'm sending to solr's update handler with deletes and adds in it. For example: 12345678 And I'm getting the following exception in the catalina.out log: Oct 10, 2007 12:58:22 PM org.apache.solr.common.SolrException log SEVERE: javax.xml.stream.