RE: Lucene search result produced wrong result (due to java Collation)?

2011-02-28 Thread Toke Eskildsen
On Mon, 2011-02-28 at 22:44 +0100, Zhang, Lisheng wrote: > Very sorry I made a typo, what I meant to say is that lucene sort produced > wrong > result in English names (String ASC): > > liu yu > l yy The standard Java Collator ignores whitespace. It can be hacked, but you will have to write your

Backup or replication option with lucene

2011-02-28 Thread Ganesh
Hello all, Could any one guide me how to backup or do replication with Lucene. Regards Ganesh Send free SMS to your Friends on Mobile from your Yahoo! Messenger. Download Now! http://messenger.yahoo.com/download.php - To unsub

Re: finding the length of a field

2011-02-28 Thread Nick Pellow
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 se

Re: finding the length of a field

2011-02-28 Thread Lahiru Samarakoon
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.

Re: finding the length of a field

2011-02-28 Thread Anshum
Hi Lahiru, A few questions here. Why would you need that? Is the field stored? -- Anshum Gupta http://ai-cafe.blogspot.com On Tue, Mar 1, 2011 at 11:04 AM, Lahiru Samarakoon wrote: > Hi all, > > Is there a way to find the length of a field of a lucene index document? > > Thanks, > Lahiru >

finding the length of a field

2011-02-28 Thread Lahiru Samarakoon
Hi all, Is there a way to find the length of a field of a lucene index document? Thanks, Lahiru

RE: Lucene search result produced wrong result (due to java Collation)?

2011-02-28 Thread Zhang, Lisheng
Hi, Very sorry I made a typo, what I meant to say is that lucene sort produced wrong result in English names (String ASC): liu yu l yy (previously I put other way round), and the problem is in java Collator which lucene is using (I can produce bug by sample code below). Thanks very much for he

How are stored Fields/Payloads loaded

2011-02-28 Thread Alex vB
Hello everybody, I am currently unsure how stored data is written and loaded from index. I want to store for every term of a document some binary data but only once and not for every position! Therefore I am not sure if Payloads or stored Fields are the better solution (Or the not implemented fe

It is possible to do Higligthing with the MoreLikeThisHandler ?

2011-02-28 Thread Amel Fraisse
Hello, I am using The MoreLikeThisHandler to get similar document with document in the query. I would like to do Highlighting on the solr document result. It is possible to do Higligthing with the MoreLikeThisHandler ? Thank you for your help. Amel.