Re: Different Analyzers

2009-12-30 Thread Max Lynch
> Alternatively, if one of the "regular" analyzers works for you *except* > for lower-casing, just use that one for your mixed-case field and > lower-case your input and send it to your lower-case field. > > Be careful to do the same steps when querying . > Thanks Erick, I didn't think about this.

Re: Different Analyzers

2009-12-30 Thread Erick Erickson
See PerFieldAnalyzerWrapper for an easy way to implement two fields in the same document processed with different analyzers. So basically you're copying the input to two fields that handle things slightly differently. As far as re-implementing stuff, no real re-implementing is necessary,

Re: Different Analyzers

2009-12-30 Thread Max Lynch
> I just want to see if it's safe to use two different analyzers for the > following situation: > > I have an index that I want to preserve case with so I can do > case-sensitive > searches with my WhitespaceAnalyzer. However, I also want to do case > insensitive searc

Re: Different Analyzers

2009-08-11 Thread Shai Erera
Lynch wrote: > I just want to see if it's safe to use two different analyzers for the > following situation: > > I have an index that I want to preserve case with so I can do > case-sensitive > searches with my WhitespaceAnalyzer. However, I also want to do case > insen

Different Analyzers

2009-08-11 Thread Max Lynch
I just want to see if it's safe to use two different analyzers for the following situation: I have an index that I want to preserve case with so I can do case-sensitive searches with my WhitespaceAnalyzer. However, I also want to do case insensitive searches. What I did was create a c

RE: Having 2 fields, each using different analyzers?

2008-01-31 Thread Steven A Rowe
Hi Itamar, On 01/31/2008 at 6:28 PM, Itamar Syn-Hershko wrote: > Since Analyzer is set per IndexWriter, which is being added a Document, > which has several fields, I was wondering how would I store 2 different > fields in a Document, each being passed through a different Analyzer? > The idea is t

Having 2 fields, each using different analyzers?

2008-01-31 Thread Itamar Syn-Hershko
Hi all, Since Analyzer is set per IndexWriter, which is being added a Document, which has several fields, I was wondering how would I store 2 different fields in a Document, each being passed through a different Analyzer? The idea is to have 2 fields of the same content, one stemmed and one is not

Re: Writing a document using two different Analyzers

2007-06-19 Thread Erick Erickson
L PROTECTED] >> >> > > > -- > Paulo E. A. Silveira > Caelum Ensino e Soluções em Java > http://www.caelum.com.br/ > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > >

Re: Writing a document using two different Analyzers

2007-06-19 Thread Sebastin
CTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Writing-a-document-using-two-different-Analyzers-tf3814647.html#a11194791 Sent from the Lucene - Java Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Writing a document using two different Analyzers

2007-05-25 Thread Paulo Silveira
On 5/25/07, karl wettin <[EMAIL PROTECTED]> wrote: PerFieldAnalyzerWrapper that was fast! thanks! http://lucene.zones.apache.org:8080/hudson/job/Lucene-Nightly/javadoc/ org/apache/lucene/analysis/PerFieldAnalyzerWrapper.html -- karl ---

Re: Writing a document using two different Analyzers

2007-05-25 Thread karl wettin
25 maj 2007 kl. 09.32 skrev Paulo Silveira: I have a Document with tow fields: one I would like to write with SimpleAnalyzer, the other I want to use StandardAnalyzer, is there a simple way to do it? PerFieldAnalyzerWrapper http://lucene.zones.apache.org:8080/hudson/job/Lucene-Nightly/javad

Writing a document using two different Analyzers

2007-05-25 Thread Paulo Silveira
Hello! I have a Document with tow fields: one I would like to write with SimpleAnalyzer, the other I want to use StandardAnalyzer, is there a simple way to do it? thanks -- Paulo E. A. Silveira Caelum Ensino e Soluções em Java http://www.caelum.com.br/ -

Re: :using different analyzers for indexing and searching:

2006-03-03 Thread Chris Hostetter
another : analyzer for searcher. If I do like this will I get my required result or : not.. Most importantly I would like to know is this a good practice to have : two different analyzers for two operations or same analyzer.. There are certainly legitimate cases where it makes sense to have differnet

:using different analyzers for indexing and searching:

2006-03-03 Thread Ravi
another analyzer for searcher. If I do like this will I get my required result or not.. Most importantly I would like to know is this a good practice to have two different analyzers for two operations or same analyzer.. Thanks Ravi Kumar Jaladanki