FieldComparator.compare(int slot1, int slot2)

2010-12-21 Thread Romi
Hi, We are migrating from Lucene2.4 to Lucene3.0.2. Please tell me in FieldComparator how i access int slot in compare(int slot1, int slot2) which was compare(ScoreDoc i, ScoreDoc j) in ScoreDocComparator. and what this slot indicates here. - Romi -- View this message in context: http:/

Re: Editing StopWordList

2010-12-21 Thread manjula wijewickrema
Hi Gupta, Thanx a lot for your reply. But I could not understand whether I could modify (adding more words) to the default stop word list or should I have to make a new list as an array as follows. public string[] NEW_STOP_WORDS = { "a", "and", "are", "as", "at", "be", "but", "by", "for", "if", "i

Re: Editing StopWordList

2010-12-21 Thread Anshum
The default stopword list is final and so you'd have to copy this to some other object and add terms to it instead of being able to directly modify it. So all said and done, what I meant when I said you could use it was that you could read that object and construct your own set (almost as case 2 be

Re: Re: Scale up design

2010-12-21 Thread Ganesh
Hello Simon, I don't hesitate to move to 64 bit. I require a suggestion whether to move to 64 bit (Scale up) or scale out with multiple system. I have started investigating 64 bit, i want to know about its performance and if anyone in this group has already tried using it. Regards Ganesh ---

Re: Re: Scale up design

2010-12-21 Thread Danil ŢORIN
There are no noticeable performance gains/loses when moving to 64 bit, assuming is the exactly same hardware (just 64bit OS), same index and reasonable amount of java heap (keep in mind that if you had 2gb on 32 bit you'll need almost 3gb on 64 bit due to lager pointer representation) But once you

Re: Can I generate two word phrases from Lucene Index

2010-12-21 Thread Jawahar Lal
On 21 December 2010 11:09, Jawahar Lal wrote: > Hi, > > I indexed the web pages content. I want to generate following information > from the indexes. > > >1. All the keywords in the index, and their no. of frequency. >I can get this using *indexReader.terms() >* >2. I also want

Re: Re: Scale up design

2010-12-21 Thread Ganesh
Thanks. I going to try in 64 bit. I will post some update in a day or two. Do I need to compile the Lucene and analyzer code in 64 bit JVM? Do I need to use MMAPDirectory in 64 bit? Any other tips targeting 64 bit? Regards Ganesh - Original Message - From: "Danil ŢORIN" To: Sent: W