Hi, I'm having issues creating a SpellChecker index.
I am running JRE 1.5.0_06, and have the following in my classpath -
lucene-core-2.0.0.jar & lucene-spellchecker-2.0.0.jar.
When I run the code below I get the following exception and a 1KB segments file
in the spellIndexDirectoryPath:
Except
aslam bari wrote:
I am searching for a word "circle" in my indexed document list. It gives me
total document found 4 i.e. Hits. But now i want to get how many occurances are there in
each document i.e. frequency of words in result document.
Hello Aslam,
you should store the TermVector in t
Thanks Doron,
My Code is as below please tell me where to add/modify for TermFreqVector.
IBasicResultSet result = new BasicResultSetImpl (false);
try
{
Searcher searcher = new IndexSearcher(indexPath);
Query query = QueryParser.parse(searchedT
See
http://www.nabble.com/Accessing-%22term-frequency-information%22-for-documents-tf1964461.html#a5390696
- Doron
aslam bari <[EMAIL PROTECTED]> wrote on 17/08/2006 23:13:27:
> Dear All,
> I am new to Lucene. I am searching for a word "circle" in my
> indexed document list. It gives me total
Dear All,
I am new to Lucene. I am searching for a word "circle" in my indexed document
list. It gives me total document found 4 i.e. Hits. But now i want to get how
many occurances are there in each document i.e. frequency of words in result
document. Plz. give me suggestions.
Thanks...
That definitely pointed me in the right direction. Thanks
-Original Message-
From: Erick Erickson [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 16, 2006 1:04 PM
To: java-user@lucene.apache.org
Subject: Re: is there such an analyzer?
I suspect you'll have to roll your own. I'd use th
thanks for your reply.show me the lucene-sandbox examples URL pls. if u can send me some sample code,that's great!2006/8/16, Ramesh Salla <
[EMAIL PROTECTED]>:
goto mailing list archive and you find a lot of info there.
i can brief you out procdure for now.
get the Highlighter jar from t
The source code is there to look at, modify, and/or compile yourself ;-)
Any "grave concerns" should be addressable by examining the contents of
the patch.
The change is pretty minor. As far as problems are concerned: in some
circumstances, there could (arguably) be a performance overhead.
We us
Thanks Kieran,
Yep iv seen this patch before but our organisation has grave concerns
putting it into a production environment as its not verified/support by
Lucene as an official patch nor have they verified that there is an actual
bug.
Do you know if you or anyone has actuall installed in prod e
Depends.
0) optimize big index
1) on big index delete all documents except those for a part of index
2) use AddIndexes on IndexWriter on destination dir (empty)
3) delete segments.del in big index directory (the segments.del is a
just serialized BitVector)
4) repeat for another set
do not mak
Hello Adrena,
You might want to consult the following thread:
http://issues.apache.org/jira/browse/LUCENE-436
The issue /might/ be to do with your JVM's implementation of ThreadLocal.
The above discussion contains a fix/workaround for this issue.
Kieran
[EMAIL PROTECTED] wrote:
We are ind
11 matches
Mail list logo