Re: How to see results of an analyzer

2010-12-22 Thread Umesh Prasad
For small texts, you can call tokenstream of Analyzer directly. That way you don't have to crate an index. http://lucene.apache.org/java/3_0_3/api/core/org/apache/lucene/analysis/Analyzer.html http://lucene.apache.org/java/3_0_3/api/core/org/apache/lucene/analysis/TokenStream.html Analyzer analy

Re: Can I generate two word phrases from Lucene Index

2010-12-22 Thread Ahmet Arslan
> > 2. *Getting Two Word Phrase ==>* index contents, > using lucene etc... > > You can add ShingleFilter to your analyzer chain. http://lucene.apache.org/java/3_0_1/api/all/org/apache/lucene/analysis/shingle/ShingleFilter.html

RE: Re: Scale up design

2010-12-22 Thread Steven A Rowe
On 12/22/2010 at 2:38 AM, Ganesh wrote: > Any other tips targeting 64 bit? If memory usage is an issue, you might consider using HotSpot's "compressed oops" option:

Re: How to see results of an analyzer

2010-12-22 Thread Lahiru Samarakoon
Hi Ian, Luke works for me. Thanks, Lahiru.

Re: How to see results of an analyzer

2010-12-22 Thread Ian Lea
I don't believe you can see anything in real time. Luke will show you pretty much anything about an index or see http://www.gossamer-threads.com/lists/lucene/java-user/112180 for a way to feed text into an analyzer and see what comes out. -- Ian. On Wed, Dec 22, 2010 at 12:00 PM, Lahiru Samara

How to see results of an analyzer

2010-12-22 Thread Lahiru Samarakoon
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

Re: Re: Scale up design

2010-12-22 Thread findbestopensource
>>Do I need to compile the Lucene and analyzer code in 64 bit JVM? You don't need to compile. Just drop your jars in 64 Bit JVM in 64 Bit OS. Regards Aditya www.findbestopensource.com On Wed, Dec 22, 2010 at 1:07 PM, Ganesh wrote: > Thanks. I going to try in 64 bit. I will post some update in