Hi there
Is there any theory behind the similarity measure of Lucene?
http://lucene.apache.org/java/docs/api/org/apache/lucene/search/Similarity.html
Thanks
Miki
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional co
stored field, but that would
make you index much bigger. you could also open the orriginal file on
disk, and pass it to the analyzer for highlighting instead.
: Date: Thu, 06 Apr 2006 20:19:24 +
: From: miki sun <[EMAIL PROTECTED]>
: Reply-To: java-user@lucene.apache.org
:
Dear all
I got a java.lang.NullPointerException at
java.io.StringReader.(StringReader.java:33) error when processing the
following code:
for (int i = 0; i < theHits.length(); i++)
{
Document doc = theHits.doc(i);
String contents = doc.get("contents") ;
TokenStream tokenStream = analyzer.token
:26:20 +1000
miki sun wrote:
Thanks Erik and Michael!
I copied some code from demo.SearchFiles.java, I do not have a more clearer
tracing message. Now it works.
But do you have a better way than this:
[snip]
Something like this?
String str = "Really bad query string: lots of evil stu
real issue. A complete stack trace would be much more helpful.
Erik
On Apr 4, 2006, at 6:55 AM, Michael Barry wrote:
Exclamation point too ... check out the "Escaping Special Characters"
section in the QueryParser syntax guide (http://lucene.apache.org/
java/docs/querypa
colons.
miki sun wrote:
Hi there
Who can tell me why I got the the queryParser error for the following
query:
Error in parse query :The light of the body is the eye: if therefore thine
eye be single, thy whole body shall be full of light. But if thine eye be
evil, thy whole body shall be f
Hi there
Who can tell me why I got the the queryParser error for the following query:
Error in parse query :The light of the body is the eye: if therefore thine
eye be single, thy whole body shall be full of light. But if thine eye be
evil, thy whole body shall be full of darkness. If therefor
Hi there
Who can tell me why I got the the queryParser error for the following query:
Error in parse query :The light of the body is the eye: if therefore thine
eye be single, thy whole body shall be full of light. But if thine eye be
evil, thy whole body shall be full of darkness. If therefor
2006 09:33:37 -0500
The registry setting is probably irrelevant. What does "java - version"
report?
Erik
On Mar 16, 2006, at 6:07 AM, miki sun wrote:
Hi
I am trying to use Lucene1.9.1 to index files on my computer.
According to the FAQ of the website:
- What Java versi
Hi
I am trying to use Lucene1.9.1 to index files on my computer.
According to the FAQ of the website:
- What Java version is required to run Lucene?
Lucene 1.4 will run with JDK 1.3 and up but requires at least JDK 1.4 to
compile. Lucene >= 1.9 requires Java 1.4.
But I got the following error
How do you do it using Kawa? I am not familar with command line operations.
Thanks
On 14/03/06, Joe Scanlon <[EMAIL PROTECTED]> wrote:
> you need to specify it from the command line
>
> ie, java org.apache.lucene.demo.IndexFile 'type in your starting directory
> here'
I change?
Thanks a lot!
On 14/03/06, Otis Gospodnetic <[EMAIL PROTECTED]> wrote:
> It looks like you are not specifying the directory you want to index.
>
> Otis
>
> ----- Original Message
> From: Miki Sun <[EMAIL PROTECTED]>
> To: java-user@lucene.apache.org
Hiya
I am a beginner of Lucene. I try to use IndexFiles.java to index my
text file directories, but it does not work. It always give me this
error message even when I comment it out:
Usage: java org.apache.lucene.demo.IndexFiles
What does "if (args.length == 0) " mean?
Thanks
Miki
--
13 matches
Mail list logo