RE: reg exp

2007-07-17 Thread Ard Schrijvers
> > In general, the type of feature you are interested in is > typcially caleld > a "PrefixQuery" you can acomplish it with the SolrQueryParser > using "a*" > > http://wiki.apache.org/solr/SolrQuerySyntax > > : example show all docs starting with an "a" or "A", I would > just add an >

Re: Problem with Russian stemmer in Solr 1.2

2007-07-17 Thread Andrew Stromnov
Hi Daniel How to implement custom Russian factory with various Tokenizers and Filters? Can you provide some code examples? Regards, Andrew Daniel Alheiros wrote: > > Hi Andrew > > Yes, I saw that. As I'm not knowledgeable in Russian I had to infer it was > adequate. But as you have much mor

Re: Problem with Russian stemmer in Solr 1.2

2007-07-17 Thread Daniel Alheiros
Hi Andrew. This is an example for one FilterFactory: public class RussianStemFilterFactory extends BaseTokenFilterFactory { private String charset;/** * @see org.apache.solr.analysis.BaseTokenFilterFactory#init(java.util.Map) */ @Overridepublic void init(Map arg0){ super.i

Passing arguments to analyzers

2007-07-17 Thread Doğacan Güney
Hi all, Is there a way to pass arguments to analyzers per document? Let's say that I have a field "foo" which is tokenized by WhitespaceTokenizer and then filtered by MyCustomStemmingFilter. MyCustomStemmingFilter can stem more than one language but (obviously) it needs to know the language of th

Re: Passing arguments to analyzers

2007-07-17 Thread Yonik Seeley
On 7/17/07, Doğacan Güney <[EMAIL PROTECTED]> wrote: Hi all, Is there a way to pass arguments to analyzers per document? Let's say that I have a field "foo" which is tokenized by WhitespaceTokenizer and then filtered by MyCustomStemmingFilter. MyCustomStemmingFilter can stem more than one langua

Re: Passing arguments to analyzers

2007-07-17 Thread Doğacan Güney
Hi, On 7/17/07, Yonik Seeley <[EMAIL PROTECTED]> wrote: On 7/17/07, Doğacan Güney <[EMAIL PROTECTED]> wrote: > Hi all, > > Is there a way to pass arguments to analyzers per document? Let's say > that I have a field "foo" which is tokenized by WhitespaceTokenizer > and then filtered by MyCustomSt

Re: Passing arguments to analyzers

2007-07-17 Thread Yonik Seeley
On 7/17/07, Doğacan Güney <[EMAIL PROTECTED]> wrote: Hi, On 7/17/07, Yonik Seeley <[EMAIL PROTECTED]> wrote: > On 7/17/07, Doğacan Güney <[EMAIL PROTECTED]> wrote: > > Hi all, > > > > Is there a way to pass arguments to analyzers per document? Let's say > > that I have a field "foo" which is tok

multiple slaves on the same box

2007-07-17 Thread Xuesong Luo
Hi, there, We have one master server and multiple slave servers. The multiple slave servers can be run either on the same box or different boxes. For slaves on the same box, is there any best practice that they should use the same index or each should have separate indexes? Thanks Xuesong

Re: multiple slaves on the same box

2007-07-17 Thread Ryan McKinley
Xuesong Luo wrote: Hi, there, We have one master server and multiple slave servers. The multiple slave servers can be run either on the same box or different boxes. For slaves on the same box, is there any best practice that they should use the same index or each should have separate indexes?

RE: multiple slaves on the same box

2007-07-17 Thread Xuesong Luo
Thanks for sharing your experience. We have multiple slaves for load balance (performance reason) and failover(in case one server dies or hung). Thanks Xuesong -Original Message- From: Ryan McKinley [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 17, 2007 3:00 PM To: solr-user@lucene.apa

RE: multiple slaves on the same box

2007-07-17 Thread Chris Hostetter
: Thanks for sharing your experience. We have multiple slaves for load : balance (performance reason) and failover(in case one server dies or : hung). if your goal is reliability and performacne, i can't really think of many reasons why it would make senseto run multiple slaves of the same master

Re: multiple slaves on the same box

2007-07-17 Thread James liu
2007/7/18, Ryan McKinley <[EMAIL PROTECTED]>: Xuesong Luo wrote: > Hi, there, > We have one master server and multiple slave servers. The multiple slave > servers can be run either on the same box or different boxes. For > slaves on the same box, is there any best practice that they should use

solr index problem

2007-07-17 Thread James liu
when i index 1.7m docs and 4k-5k per doc. OutOfMemory happen when it finish index ~1.13m docs I just restart tomcat , delete all lock and restart do index. No error or warning infor until it finish. anyone know why? or have the same error? -- regards jl