Re: How to extract constrained fields from query

2007-08-24 Thread Martin Grotzke
On Thu, 2007-08-23 at 10:44 -0700, Chris Hostetter wrote: : Probably I'm also interested in PrefixQueries, as they also provide a : Term, e.g. parsing ipod AND brand:apple gives a PrefixQuery for : brand:apple. uh? ... it shoudn't, not unless we're talking about some other customization

Effects of changing schema?

2007-08-24 Thread David Whalen
Hi All. I'm unclear on whether changing the schema.xml file automatically causes a reindex or not. If I'm adding a field to the schema (and removing some unused ones), does solr do the reindex? Or, do I have to kick it off myself. Ideally, we'd like to avoid a reindex... Thanks! DW

How do I best store and retrieve ISO country codes?

2007-08-24 Thread Simon Peter Nicholls
Hi all, I've just noticed that for ISO 2 character country codes such as BE and IT, my queries are not working as expected. The field is being stored as country_t, dynamically from acts_as_solr v0.9, as follows (from schema.xml): dynamicField name=*_t type=text indexed=true stored=false/

Re: How do I best store and retrieve ISO country codes?

2007-08-24 Thread Yonik Seeley
On 8/24/07, Simon Peter Nicholls [EMAIL PROTECTED] wrote: I've just noticed that for ISO 2 character country codes such as BE and IT, my queries are not working as expected. The field is being stored as country_t, dynamically from acts_as_solr v0.9, as follows (from schema.xml):

Re: How do I best store and retrieve ISO country codes?

2007-08-24 Thread Simon Peter Nicholls
Thanks Yonik! Cheers for the extra advice too. On 24 Aug 2007, at 17:14, Yonik Seeley wrote: On 8/24/07, Simon Peter Nicholls [EMAIL PROTECTED] wrote: I've just noticed that for ISO 2 character country codes such as BE and IT, my queries are not working as expected. The field is being stored

Re: Index HotSwap

2007-08-24 Thread Jérôme Etévé
On 8/21/07, Chris Hostetter [EMAIL PROTECTED] wrote: : I'm wondering what's the best way to completely change a big index : without loosing any requests. use the snapinstaller script -- or adopt the same atomic copying approach it uses. I'm having a look :) : - Between the two mv's,

Embedded about 50% faster for indexing

2007-08-24 Thread Sundling, Paul
Created two indexer implementations to test HTTP Post versus Embedded and the performance was 54.6% faster on embedded. Thought others might find that interesting that are using Java. Paul Sundling

RE: clear index

2007-08-24 Thread Sundling, Paul
If that happens, then using that specific query should be added to the FAQ for how to clear an index. Paul Sundling -Original Message- From: Chris Hostetter [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 21, 2007 6:41 PM To: solr-user@lucene.apache.org Subject: RE: clear index :

Re: Embedded about 50% faster for indexing

2007-08-24 Thread Yu-Hui Jin
Sorry i'm new to the topic, can you point me to the Embedded approach? thanks, -Hui On 8/24/07, Sundling, Paul [EMAIL PROTECTED] wrote: Created two indexer implementations to test HTTP Post versus Embedded and the performance was 54.6% faster on embedded. Thought others might find that

RE: Embedded about 50% faster for indexing

2007-08-24 Thread Wu, Daniel
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Yonik Seeley Sent: Friday, August 24, 2007 2:07 PM To: solr-user@lucene.apache.org Subject: Re: Embedded about 50% faster for indexing One thing I'd like to avoid is everyone trying to embed just