Re: java on 64 bits

2005-10-21 Thread Roxana Angheluta
Thank you, Yonik, it seems this is the case. What can we do in this case? Would running the program with java -d32 be a solution? Thanks again, roxana One possibility: if lucene runs out of memory while adding or optimizing, it can leave unused files beind that increase the size of the index.

Re: java on 64 bits

2005-10-21 Thread Volodymyr Bychkoviak
You can also try to clean up index with Luke. Yonik Seeley wrote: One possibility: if lucene runs out of memory while adding or optimizing, it can leave unused files beind that increase the size of the index. A 64 bit JVM will require more memory than a 32 bit one due to the size of all referenc

Re: Lucene search is very slow

2005-10-21 Thread Chris Lu
You can create the new instance of IndexSearcher right after you finish updating the index. And when the new IndexSearcher is ready, switch to the new one and close the old one. I use Hits object to do pagination too. No problem there. Chris -- Full-Text Search on

Re: How To Implement Google Adwords-Like Text Ad?

2005-10-21 Thread Simon Courtenage
With Google TextAds, I've noticed on my blog that the text ads take a little while to get updated to correspond to the new content, which seems to imply that they take note of the new blog content and decide which text ads to serve up. The question is, if this is true, how can it done quickly

Non scored results

2005-10-21 Thread Volodymyr Bychkoviak
Hello all. If I need non scored results can I use Searcher.search(Query,HitCollector) method and store bitset of found documents. will it give me some speed improvement? thanks. -- regards, Volodymyr Bychkoviak - To unsubs

Re: Non scored results

2005-10-21 Thread Yonik Seeley
It can... By the time the hitcollector is called, the documents are already scored, so you don't save any time there. But since they haven't been sorted yet, you do save the time it would take to put all the hits through the priority queue to find the top "n". -Yonik On 10/21/05, Volodymyr Bychk

Re: java on 64 bits

2005-10-21 Thread Yonik Seeley
1) make sure the failure was due to an OutOfMemory exception and not something else. 2) if you have enough memory, increase the max JVM heap size (-Xmx) 3) if you don't need more than 1.5G or so of heap, use the 32 bit JVM instead (depending on architecture, it can acutally be a little faster becau

RE: java on 64 bits

2005-10-21 Thread Aigner, Thomas
I have seen quite a few posts on using the 1.9 dev version for production uses. How stable is it? Is it really ready for production? I would like to use it.. but I never ever put beta packages in procution.. but then again.. I'm always dealing with Microsoft :) Tom -Original Message- Fro

Re: java on 64 bits

2005-10-21 Thread jian chen
Hi, Also, I think you may try to increase the indexInterval, it is set to 128, but getting it larger, the .tii files will be smaller. Since .tii files are loaded into memory as a whole, so, your memory usage might be smaller. However, this change might affect your search speed. So, be careful abou

Re: java on 64 bits

2005-10-21 Thread Roxana Angheluta
Thanks everyone for the answers! I'm experimenting with your suggestions, I will let you know if something interesting pops up. roxana 1) make sure the failure was due to an OutOfMemory exception and not something else. 2) if you have enough memory, increase the max JVM heap size (-Xmx) 3) if

Re: How To Implement Google Adwords-Like Text Ad?

2005-10-21 Thread Sam Lee
But can the Bayesian classifier narrow down the ads precise enough? When I look at Google Text Ads, they are really precise. For examples, if I search "PHP" in google or it's a webpage about PHP, it doesn't show ads just because they are computer science related, it just shows the ones that is

Recommendation on Reading or Websites or Examples of How to Use Lucene?

2005-10-21 Thread Sam Lee
Hi, Do you guys have good recommendation on websites that have detail explanation about how to use Lucene? If they have source examples too, that would be great. I already read the book Lucene in Action. Many thanks. __ Yahoo! FareChase: Se

queries and filters

2005-10-21 Thread Rick Hillegas
I have another newbie question based on a quick glance at some classes in* org.apache.lucene.search.Query* and at the email thread http://nagoya.apache.org/eyebrowse/[EMAIL PROTECTED]&by=thread&from=943115. It appears that Searchers first compute query results and then filter those results. Can

Re: queries and filters

2005-10-21 Thread Yonik Seeley
The closest thing to that is http://issues.apache.org/jira/browse/LUCENE-330 -Yonik Now hiring -- http://forms.cnet.com/slink?231706 On 10/21/05, Rick Hillegas <[EMAIL PROTECTED]> wrote: > > I have another newbie question based on a quick glance at some classes > in* org.apache.lucene.search.Que

Problem Running Lucene in Action sample codes

2005-10-21 Thread anushri kumar
- Yahoo! FareChase - Search multiple travel sites in one click.

Problem Running Lucene in Action sample codes

2005-10-21 Thread anushri kumar
Hi, I'm having trouble running the sample codes in Lucene in Action. I followed the instructions in the README file and in the book but no luck. I'm not familiar with ant. Can some one help please ?? Anushri - Yahoo! FareChase - Search multip