m(String field, FieldInvertState state). There
> >> is comprehensive info in the javadocs. Note that values are
> >> calculated at indexing and stored in the index encoded, with some loss
> >> of precision.
> >>
> >>
> >> --
> >> Ian.
> >>
>
t; of precision.
>
>
> --
> Ian.
>
> On Mon, Jun 13, 2011 at 7:31 AM, Lahiru Samarakoon
> wrote:
> > Hi All,
> >
> > I want to change the length normalization calculation specific to my
> > application. By changing the "*number of terms*" accordin
Hi All,
I want to change the length normalization calculation specific to my
application. By changing the "*number of terms*" according to my
requirement. The "*StandardTokenizer*" works perfectly for my application,
However, the *number of terms* calculated by the tokenizer is not the
effective n
Hi,
>
> Is there something in Lucene that supports lemmatization of the following
> form:
>
> Mexican --> Mexico (from adjective to name/noune)
>
> Lemmatization do not change part of speech. I think you are looking for a
stemming algorithm.
http://nlp.stanford.edu/IR-book/html/htmledition/stemmi
Hi Ian,
Yes, It does the job for me :) .
Thank you,
Best Regards,
Lahiru
Hi All,
I have a document and a list of terms. For each term, I want to find the
position of that term in the given document.
Please advice.
Thanks,
Lahiru
Hi All,
Do you have any BM 25 scoring implementation which can be used with Lucene?
How can I find and use the implementation mentioned in following jira entry?
https://issues.apache.org/jira/browse/LUCENE-2091
Thanks,
Lahiru
Thanks nick, will try that
On Tue, Mar 1, 2011 at 12:00 PM, Nick Pellow wrote:
> Have you considered storing the length of the field in a Payload?
> You could do that during analysis.
>
> Cheers,
> Nick
>
> On 01/03/2011, at 5:06 PM, Lahiru Samarakoon wrote:
>
> >
Hi Anshum,
I am trying to implement a custom length normalization mechanism, which
needs the length of the field being searched.
Yes, the field is stored.
Thanks,
Lahiru.
Hi all,
Is there a way to find the length of a field of a lucene index document?
Thanks,
Lahiru
HI
You were using a system for two years and it used an index created using
lucene with the StandardAnalyzer. So, There must be an index creation code
with your system.
Anyway,Since you have the book “*Lucene in action*” you can find how to
create an index by reading chapter 2 (Indexing). Please
HI Ian & Umesh.
This is what I was looking for.
Thank a lot.
Regards,
Lahiru
Dear All,
I have two documents. The analyzed and the tokenized contents are mentioned
below.
*Document 1 :*
*when*, null_1, *my*, null_1, money,
fund, amount, payment, creditcard, credit,
card, *bank, account*, debit, deduct,
*charge*, null_1, my, mobile, usage,
*service*, connection
*
Hi Umesh,
Thanks for the descriptive answer.
Using your method I can test my custom analyzers without creating an index.
Best Regards,
Lahiru
Hi Ian,
Luke works for me.
Thanks,
Lahiru.
Dear All,
How can I see (or print) the result of a lucene analyzer.
I believe the analyzing happens when the *writer.addDocument* or *
writer.updateDocument* methods are called.
Can anyone suggest me a method to see the analyzing process as it happens.
If it is not possible in real time, how can
Uwe Schindler
> > H.-H.-Meier-Allee 63, D-28213 Bremen
> > http://www.thetaphi.de
> > eMail: u...@thetaphi.de
> >
> >
> >> -Original Message-
> >> From: Lahiru Samarakoon [mailto:lahir...@gmail.com]
> >> Sent: Tuesday, December 14, 201
Dear Uwe,
I remove additional jar files and it is working. Thanks a lot for the
guidance.
Regards,
Lahiru
ttp://www.thetaphi.de
> eMail: u...@thetaphi.de
>
> > -Original Message-
> > From: Lahiru Samarakoon [mailto:lahir...@gmail.com]
> > Sent: Tuesday, December 14, 2010 7:05 AM
> > To: java-user@lucene.apache.org
> > Subject: java.lang.NoClassDefFoundError:
Hi All,
I am using *lucene-3.0.2* with *spring framework-3.0.5*. Spring context
initialization failed due to a *java.lang.NoClassDefFoundError:
org/apache/lucene/util/CharacterUtils*. But that class can not be found in
the jars shipped with *lucene-3.0.2*. I am stumped here. Please advice.
Thank
20 matches
Mail list logo