Re: Fetching float or int fields from index by Lucene document

2008-07-02 Thread Yonik Seeley
On Wed, Jul 2, 2008 at 10:45 PM, Chris Hostetter <[EMAIL PROTECTED]> wrote: > It never really occured to me before, but it is kind of weird that there > is a toInternal and a toExternal and an indexedToReadable -- but there is > no readableToIndexed ... toInternal is used both for the "indexed" val

Re: Fetching float or int fields from index by Lucene document

2008-07-02 Thread Chris Hostetter
: See the methods on FieldType, esp toExternal() It never really occured to me before, but it is kind of weird that there is a toInternal and a toExternal and an indexedToReadable -- but there is no readableToIndexed ... toInternal is used both for the "indexed" value and for the "stored" valu

RE: schema.xml for CJK, German, French, etc.

2008-07-02 Thread George Aroush
Thanks Erik! Trouble is, I don't know those languages to conclude that my setup is correct, specially for CJK. It's less problematic for European languages, but then again, should I be using those English filters with the German SnowballPorterFilterFactory? That is, will WordDelimiterFilterFactor

Re: schema.xml for CJK, German, French, etc.

2008-07-02 Thread Erik Hatcher
On Jul 2, 2008, at 9:16 PM, George Aroush wrote: Has anyone created schema.xml for languages other then English? Indeed. I like to see a working example mainly for CJK, German and French. If you have can you share them? TO get me started, I created the following for German:

schema.xml for CJK, German, French, etc.

2008-07-02 Thread George Aroush
Hi Folks, Has anyone created schema.xml for languages other then English? I like to see a working example mainly for CJK, German and French. If you have can you share them? TO get me started, I created the following for German: Will th

Re: Fetching float or int fields from index by Lucene document

2008-07-02 Thread Kevin Osborn
Thanks. I knew there had to be something like that. It worked perfectly. - Original Message From: Yonik Seeley <[EMAIL PROTECTED]> To: solr-user@lucene.apache.org Sent: Wednesday, July 2, 2008 2:44:46 PM Subject: Re: Fetching float or int fields from index by Lucene document See the met

Re: Fetching float or int fields from index by Lucene document

2008-07-02 Thread Yonik Seeley
See the methods on FieldType, esp toExternal() -Yonik On Wed, Jul 2, 2008 at 5:39 PM, Kevin Osborn <[EMAIL PROTECTED]> wrote: > As part of my results, I am building a lot of facet information. For example, > an Attribute ID also needs to return the Attribute Text. > > So, I have code like the fo

Fetching float or int fields from index by Lucene document

2008-07-02 Thread Kevin Osborn
As part of my results, I am building a lot of facet information. For example, an Attribute ID also needs to return the Attribute Text. So, I have code like the following (really in a cache): Term term = new Term ("AtrID", "A0001"); Document doc = searcher.doc(searcher.getFirstMatch(term)); retu

Re: negative boosting / analysis?

2008-07-02 Thread Chris Hostetter
I've never really tackled anything like this, but a few things to consider / watch out for are: 1) if a doc *only* matches because of the negated field do you really want to consider it a match? Even in the case of dismax, the minNrShouldMatch aspect is going to is going to consider your mega

Re: Solr Capabilities/Limitations

2008-07-02 Thread Erik Hatcher
Willie, Yes, Solr has "multi core" support: Erik On Jul 2, 2008, at 1:15 PM, Willie Wong wrote: Thanks Mike for your quick response - they were very informative and useful. I have one final question if you don't mind is it possible fo

Re: Solr Capabilities/Limitations

2008-07-02 Thread Willie Wong
Thanks Mike for your quick response - they were very informative and useful. I have one final question if you don't mind is it possible for a single Solr instance to switch between multiple indexes? For example, can solr search in one index on one server partition then use another index

High load when updating many cores

2008-07-02 Thread Doug Steigerwald
We're experiencing some high load on our Solr master server. It currently has 30 cores and processes over 3 million updates per day. During most of the day the load on the master is low (0.5 to 2), but sometimes we get spikes in excess of 12 for hours at a time. The only reason I can figu

Re: MergeException

2008-07-02 Thread Doug Steigerwald
We're using Lucene 2.3.0. I'll try upgrading to 2.3.2 at some point. All of our cores are updating fine, so not a huge rush. Thanks. Doug On Jul 2, 2008, at 9:42 AM, Yonik Seeley wrote: Doug, it looks like it might be this Lucene bug: https://issues.apache.org/jira/browse/LUCENE-1262 What v

Re: MergeException

2008-07-02 Thread Yonik Seeley
Doug, it looks like it might be this Lucene bug: https://issues.apache.org/jira/browse/LUCENE-1262 What version of Lucene is in the Solr you are running? You might want to try either one of the latest Solr nightly builds, or at least upgrading your Lucene version in Solr if it's not the latest pa

MergeException

2008-07-02 Thread Doug Steigerwald
What exactly does this error mean and how can we fix it? As far as I can tell, all of our 30+ cores seem to be updating and autocommiting fine. By fine I mean our autocommit hook is firing for all cores which leads me to believe that the commit is happening, but segments can't be merged.