Re: Regex Help

2009-12-16 Thread Ghazal Gharooni
Is it what you want? StringTokenizer stk = new StringTokenizer("name:'zhong-guo' name:friend server:172.16.65.79"," ", false); for (int i = 0; i <= stk.countTokens()+1; i++) { result.add(stk.nextToken()); } On Tue, Dec 15, 2009 at 11:04 PM, Weiwei Wang wrote: > Same

Get Hits for a single document

2009-12-16 Thread PeterJohn
Hi, Can any one suggest me the best way to get a word hits(occurances) in single document. I have found it through Termfrequency, but that is not efficient. Example : If search string is "sir please", I would like to get sir hits and please hits for a single document. Thanks, Regards, PeterJoh

Re: How to do alias(Pinyin) search in Lucene

2009-12-16 Thread Erick Erickson
If your queries are still slow, make sure you're not measuring the *first* query on a newly opened searcher. There are other tips here that might be useful. These are general searching tips complimentary to Robert's suggestions.. http://wiki.apache.org/lucene-java/ImproveSearchingSpeed

Re: How to do alias(Pinyin) search in Lucene

2009-12-16 Thread Weiwei Wang
Thanks Erick, I''ll take a carefull study of that 2009/12/16 Erick Erickson > If your queries are still slow, make sure you're not measuring > the *first* query on a newly opened searcher. There are > other tips here that might be useful. These are general searching > tips complimentary to Rober

London search technology group on Meetup

2009-12-16 Thread Richard Marr
Hi all, Following on from the various social events René Kriegler and I have organised in London, I've now created a group on Meetup.com so that people can subscribe to event notifications. If you think you might be interested in coming along some time then just sign up and you'll get a notificat

External sort

2009-12-16 Thread Ganesh
Hello all, We are facing serious issues related to Sorting in production environment. I know this issues has been discussed in this group. I am using v2.9.1 I am having multiple shards and i need to do only date time sorting. Sorting consumes 50% of RAM. Is anyone has attempted to use external