RE: Index and Search Phrase Documents

2004-10-18 Thread Aviran
Lucene comes with demo apps that you can learn from. You can read about it here http://jakarta.apache.org/lucene/docs/demo.html Aviran http://aviran.mordos.com -Original Message- From: PROYECTA.Fernandez Garcia, Ivan [mailto:[EMAIL PROTECTED] Sent: Monday, October 18, 2004 10:18 AM To

RE: I am new to lucene

2004-09-14 Thread Aviran
u can't get the field's value. Aviran -Original Message- From: Haipeng Du [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 14, 2004 11:51 AM To: [EMAIL PROTECTED] Subject: RE: I am new to lucene Thanks Aviran. But how could I use content to search the document if I use Field.Text

RE: RangeQuery without ending term?

2004-09-14 Thread Aviran
need to use - Original Message - From: "Aviran" <[EMAIL PROTECTED]> To: "'Lucene Developers List'" <[EMAIL PROTECTED]> Sent: Tuesday, September 14, 2004 5:41 PM Subject: RE: RangeQuery without ending term? > Just put null at the end. >

RE: I am new to lucene

2004-09-14 Thread Aviran
FBox which can extract text from a PDF document. Aviran -Original Message- From: Haipeng Du [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 14, 2004 11:18 AM To: [EMAIL PROTECTED] Subject: I am new to lucene Hi, everyone: I am new to Lucene. There are some questions I want to know why.

RE: RangeQuery without ending term?

2004-09-14 Thread Aviran
Just put null at the end. Aviran -Original Message- From: Murat Ozcan [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 14, 2004 10:36 AM To: Lucene Developers List Subject: RangeQuery without ending term? Is there any way to create a query like this - select all matches which are

RE: Problem with Sort logic ?

2004-07-28 Thread Aviran
ield) throws IOException { -field = field.intern(); + field = field.intern(); Object ret = lookup (reader, field, SortField.AUTO); if (ret == null) { TermEnum enumerator = reader.terms (new Term (field, "")); -Original Message- From: Doug Cutting [mailto:[

RE: Problem with Sort logic ?

2004-07-26 Thread Aviran
Do you think that another FieldCache implementation will be beneficiary for those who want to sort on any field other than keyword. I bet that a lot of developers will want to have the ability to sort on ANY field, without having to duplicate all the fields as keywords. Aviran -Original

Problem with Sort logic ?

2004-07-23 Thread Aviran
ad of just the term, this way the result is sorted by the actual field's value and not the tokenized, analyzed term, which can be the identical for several different values. For Example: John R Smith = John Smith Thoughts ? Aviran

[PATCH] [Bug 30242] Make a getter for SortField[] fields in org.apache.lucene.search.Sort

2004-07-21 Thread Aviran
Index: Sort.java === RCS file: /home/cvspublic/jakarta-lucene/src/java/org/apache/lucene/search/Sort.java,v retrieving revision 1.7 diff -u -r1.7 Sort.java --- Sort.java 5 Apr 2004 17:23:38 - 1.7 +++ Sort.java 21 Jul 2004

RE: [PATCH] [Bug 30240] - FieldCacheImpl cache gets rebuilt every time

2004-07-21 Thread Aviran
I believe so. This is a pretty significant bug. Aviran -Original Message- From: Doug Cutting [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 21, 2004 15:33 PM To: Lucene Developers List Subject: Re: [PATCH] [Bug 30240] - FieldCacheImpl cache gets rebuilt every time I wonder if we

RE: [PATCH] [Bug 30240] - FieldCacheImpl cache gets rebuilt every time

2004-07-21 Thread Aviran
Works like a charm (-: -Original Message- From: Doug Cutting [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 21, 2004 15:10 PM To: Lucene Developers List Subject: Re: [PATCH] [Bug 30240] - FieldCacheImpl cache gets rebuilt every time Aviran wrote: > Entry (IndexReader rea

[PATCH] [Bug 30240] - FieldCacheImpl cache gets rebuilt every time

2004-07-21 Thread Aviran
Index: FieldCacheImpl.java === RCS file: /home/cvspublic/jakarta-lucene/src/java/org/apache/lucene/search/FieldCacheI mpl.java,v retrieving revision 1.2 diff -u -r1.2 FieldCacheImpl.java --- FieldCacheImpl.java 24 May 2004 22:51:42 -00

RE: Making a get method for SortField[] fields; in the Sort object

2004-07-21 Thread Aviran
his sounds reasonable to me. Can you please send a diff, complete with javadoc, etc? Aviran wrote: > I'm have my own Collector and I would like to use the Sort object > within my collector, but SortField[] fields; is not accessible outside > Lucene's package. Can you please con

Making a get method for SortField[] fields; in the Sort object

2004-07-20 Thread Aviran
change the code and recompile Lucene. But it would be nice to use the standard implementation. Aviran

RE: FW: Lucene Search has poor cpu utilization on a 4-CPU machine

2004-07-15 Thread Aviran
Aviran wrote: > My test index is pretty small size, about 250 documents and about 24 > fields in each document. The test is done by starting 10 threads that > repeat simple one word query (each thread query on a different word). > Neither range nor wildcard query is done. > I l

RE: FW: Lucene Search has poor cpu utilization on a 4-CPU machine

2004-07-15 Thread Aviran
he stack trace. I use a single searcher which never gets closed. Aviran - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: FW: Lucene Search has poor cpu utilization on a 4-CPU machine

2004-07-13 Thread Aviran
leanQuery.java :165) at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:154) Aviran -Original Message- From: Otis Gospodnetic [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 13, 2004 10:08 AM To: Lucene Developers List Subject: Re: FW: Lucene Search has poor cpu utilization

FW: Lucene Search has poor cpu utilization on a 4-CPU machine

2004-07-12 Thread Aviran
ce (number of searches per second). This issue was raised on Lucene user group, in which Doug suggested I submit a patch to the developer mailing list. So here it is attached to this email. I also reported this issue in bugzilla (Bug 30058) Than