You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by Jae Joo <ja...@gmail.com> on 2007/10/16 22:14:32 UTC
Lucene
Hi,
Does Lucene have the function to return top 5 most frequency keywords in
the article?
Thanks,
Jae
Re: Fieldable and Document class.
Posted by Erick Erickson <er...@gmail.com>.
There is no "update in place" functionality in Lucene. You can use
IndexModifier
which (under the covers) does a delete/add.
How dynamic is "pretty dynamic"? updating one doc/hour? Updating
1,000 docs a second?
Best
Erick
On 10/16/07, Durga.Tirunagari@sun.com <Du...@sun.com> wrote:
>
> HI Folks,
>
> How to address the a change in the name of the file (or) the
> location of a file that was indexed.?. Is re-indexing this file the
> only way out ?.
> Since most of our files, we are planning on indexing are pretty
> dynamic.
>
> Thank you
> _Durga
>
>
>
>
Fieldable and Document class.
Posted by Du...@Sun.COM.
HI Folks,
How to address the a change in the name of the file (or) the
location of a file that was indexed.?. Is re-indexing this file the
only way out ?.
Since most of our files, we are planning on indexing are pretty dynamic.
Thank you
_Durga
Re: Lucene
Posted by Grant Ingersoll <gs...@apache.org>.
Yes, with a little bit of work, as there is nothing out of the box
for it.
If you store term vectors (or re-analyze the document) you can use
the sample code from my ApacheCon 2005 talk (http://www.cnlp.org/
apachecon2005/, which also covers how to use TermVectors) OR you can
try implementing the new TermVectorMapper functionality in the trunk
version of Lucene.
Cheers,
Grant
On Oct 16, 2007, at 4:14 PM, Jae Joo wrote:
> Hi,
>
> Does Lucene have the function to return top 5 most frequency
> keywords in
> the article?
>
> Thanks,
>
> Jae
--------------------------
Grant Ingersoll
http://lucene.grantingersoll.com
Lucene Boot Camp Training:
ApacheCon Atlanta, Nov. 12, 2007. Sign up now! http://
www.apachecon.com
Lucene Helpful Hints:
http://wiki.apache.org/lucene-java/BasicsOfPerformance
http://wiki.apache.org/lucene-java/LuceneFAQ
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org