The TermFrequencyVector works perfectly for normal query strings. But if I
add a wild card (*) onto words to search for different forms of the word I
get an ArrayIndexOutOfBoundsException because the index is -1. Why does this
happen? And is there anyway to avoid it?
Thanks,
James
jnance
term ["+ term.text() +"] is "
> +
> freqs[j] );
> }
> }
> }
> }
>
> Let me know if this helps.
> Cheers
> AJ
>
> 2008/7/10 Karl Wettin <[EMAIL PROTECTED]>:
>
>> Maybe you are looking for the document Ter
Ok, I'll see if I can find anything.
Thanks,
James
--
View this message in context:
http://www.nabble.com/Searching-for-instances-within-a-document-tp18362075p18362432.html
Sent from the Lucene - Java Users mailing list archive at Nabble.com.
Hi,
I am indexing lots of text files and need to see how many times a certain
word comes up in each text file. Right now I have this constructor for
"search":
static void search(Searcher searcher, String queryString) throws
ParseException, IOException {
QueryParser parser = new
Thanks! Lucene in Action is very helpful.
-James
--
View this message in context:
http://www.nabble.com/Indexing-and-searching-txt-files-tp18031330p18067808.html
Sent from the Lucene - Java Users mailing list archive at Nabble.com.
-
Hi,
I am new to Lucene. I have several text files I would like to index and
search. How do I do this?
Thanks,
jnance
--
View this message in context:
http://www.nabble.com/Indexing-and-searching-txt-files-tp18031330p18031330.html
Sent from the Lucene - Java Users mailing list archive at