Hi,
I'm trying to retrieve a document from a Hits object and I'm getting
the following exception and stack trace. I have a Hits object named
"hits" and I'm just trying to retrieve the first document using
Document doc = hits.doc(0);
I can retrieve all other kinds of information for the do
resurface later.
Thanks.
Mike
On May 3, 2006, at 12:46 AM, Michael Dodson wrote:
Hi,
I'm getting an ArrayIndexOutOfBoundsException when I try to create
an instance of IndexSearcher with an FSDirectory.
for IndexSearcher searcher = new IndexSearcher(directory);
I get the following stack
Hi,
I'm getting an ArrayIndexOutOfBoundsException when I try to create an
instance of IndexSearcher with an FSDirectory.
for IndexSearcher searcher = new IndexSearcher(directory);
I get the following stack trace:
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: -1
I know it is possible to query against multiple indexes, but is it
possible to create a composite query in which part of the query is
against one index and part is against another (similar to querying
against a default and a second field)?
for example index1:query1 AND index2:query2
I tho
Is it possible to use wildcards with SpanNearQuery?
For example, if the user enters "fast car" with a slop of 1 things
like "fast cars" "faster cars" "fast brown cars" etc would be found?
Thanks,
Mike
-
To unsubscribe, e-m
Can phrase queries be nested the same way boolean queries can be nested?
I want a user query to be translated into a boolean query (say, x AND
(y OR z)), and I want those terms to be within a certain distance of
each other (approximately within the same sentence, so the slop would
be about
I'm relatively new to Lucene and I've been trying to index a large
number of html files. If my operation is interrupted the index
appears to be corrupted. I can no longer open it for searching with
IndexSearcher (and no amount of toying with Luke's options seems to
help if I try to browse
isn't a lucene isolated problem. I'm getting the same
error no matter what I try to build. I suppose I should be asking
the ant mailing list...
Thanks for the help.
Mike
On Feb 19, 2006, at 11:47 PM, Erik Hatcher wrote:
On Feb 19, 2006, at 11:22 AM, Michael Dodson wrote:
Ant 1.6
Ant 1.6.5
No, I didn't make any modifications to the build file.
Mike
On Feb 19, 2006, at 1:09 AM, Erik Hatcher wrote:
What version of Ant? Did you modify build.xml?
Erik
On Feb 18, 2006, at 6:32 PM, Michael Dodson wrote:
I've been trying to use ant to rebuild lu
I've been trying to use ant to rebuild lucene after toying with the
source. I am getting an error message I don't understand (though I
am admittedly new to ant). The error is below. Any help is greatly
appreciated. Thank you.
Buildfile: build.xml
BUILD FAILED
/Users/michaeldodson/lucen
I'm new to Lucene and I'm trying to index an HTML file parsed with
NekoHTML.
With text between HTML tags, its easy enough to have an overloaded
getText() method which either recursively indexes all text, or which
accepts the name of a tag (like "title") and only finds text between
tags.
11 matches
Mail list logo