n 2.2 does not have this method anymore, or do
I have to access it in another way.
Any help appreciated.
Regards,
Amit
http://www.spreadfirefox.com/?q=affiliates&id=111787&t=1";>Get
Firefox!
ument.
Thanks
Amit
On 7/10/07, Otis Gospodnetic <[EMAIL PROTECTED]> wrote:
Amit,
Field.Text method is long gone from Lucene. I think that was in version
1.4.3 of Lucene, maybe 1.9*, but we are in 2.* now.
The place to look at the new Field API is here:
http://lucene.apache.org/java/2_2_0/api
Hi Andy,
Thanks for the example, i tried it and it works like a charm :)
I will explore more of Lucene on my own.
Amit
On 7/10/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
You can reference org.apache.lucene.document.Field class. It should be
similar as:
ontactDocument.add(new
("name"));
}
}
what I expect from the search is to give me the name of the string I am
storing with respect to the search string, but everytime I search for a
string the doc.get("name") always returns the first stored string as name. I
dont understand where have I done wrong, or should I use a different
approach..
Any help appreciated.
Cheers
Amit
y response.
Thanks in advance.
Thanks and Regards,
Amit
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
y response.
Thanks in advance.
Thanks and Regards,
Amit
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Thanks Paul for quick reply.
regards,
Amit
-Original Message-
From: Paul Elschot [mailto:[EMAIL PROTECTED]
Sent: Saturday, July 01, 2006 2:22 PM
To: java-user@lucene.apache.org
Subject: Re: how Boolean query work internally in lucene
On Saturday 01 July 2006 09:37, Amit wrote:
> Hi
use in lucene to filter out
documents ids?
is it have sortorder by docid in asc or desc?
can i write custom filter?
i would appreciate any kind of reply.
Thanks in advance.
Regards,
Amit
-
To unsubscribe, e-mail: [EMAIL
Thanks Erick for reply.it will help us.
Regards,
Amit
-Original Message-
From: Erick Erickson [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 05, 2006 6:32 PM
To: java-user@lucene.apache.org; [EMAIL PROTECTED]
Subject: Re: Function writing using lucene
Amit:
You can make
order. So is it possible to search in date order. If any one of you have
some idea regarding this then please let me know.
Thanks,
Amit Soni
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
priorities
1. title
2. keywords
3. synonyms
But right now it is in some different priorities. So if some one has and
idean regarding this then please let me know.
Thanks,
Amit Soni
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
ng Sort class. Or i can do the same with
anything else.
I hope you understand want i want to ask.
Thanks,
Amit Soni
Erick Erickson wrote:
I think what you want is IndexSearcher.search(Query, Filter, Sort).
Filter may be null, and Sort is a Sort object that allows you to sort
on multiple fie
Hi Bhavin,
Thanks a lot for your reply. But i am little confuse this time. Do i
have to give boost and index and search both or either index or search?
Also can you give some docs which has something on how to use boost on
particular fields.
Thanks,
Amit Soni
Bhavin Pandya wrote:
Hi amit
provide me
with term frequencies from remote indices?
Any alternatives?
Thanks
Amit
-
Amit Kumar
Research Programmer
The Graduate School of Library and Information Science
University of Illinois, Urbana Champaign IL, 61820
phone: 217-333
matching doc the collect function on the Collector
class will be called but, when all the matches are done how can i come to
know about that. The search function doesn't block.
Is there any way to get this done?
Thanks
Amit
Lucene.
Has anyone else done that?
Best,
Amit
ps: Thank you for putting the LuceneInAction source online, it was a
great help to see the CategorizerTest.java.
I am ordering my copy of the book tomorrow :)
-
Amit Kumar
Research
n the developer archives for the payload discussions,
perhaps implementing that might satisfy my use cases.
Comments?
-Thanks
Amit
On Jul 12, 2006, at 6:39 AM, Grant Ingersoll wrote:
Hi Amit,
This is definitely something you can do. What are your goals for
it? Do you want to search by wor
You are right. I saw your email after pressing send. Let me
experiment. Thanks for the tip.
Best,
Amit
On Jul 12, 2006, at 10:55 AM, mark harwood wrote:
Appending POS to the terms will create post processing nightmare
I think you may have missed the subtle distinction between Grant
nux 2.6.15.2; Lucene 2.0.0.
How can I get better results? Can I?
Many thanks for your help.
-Amit
-----
Amit Kumar
Research Programmer
The Graduate School of Library and Information Science
University of Illinois, Urbana Champaign IL, 61
the index.
-Amit
On Aug 9, 2006, at 2:34 PM, Grant Ingersoll wrote:
Hi Amit,
If you want all the freqs of all the terms (or even just some of
the terms) in all documents, you don't need to use Term Vectors,
take a look at TermEnum and TermDocs.
If you want for specific documents,
20 matches
Mail list logo