while indexing, encountered "No tvx file" msg.

2006-01-13 Thread tlittell
Does anybody know what would cause a "No tvx file" msg while indexing. I'm indexing with both Field.Keyword & Field.Text, with term vectors being stored. thanks Todd - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional co

Re: Default searching across all fields?

2006-01-10 Thread tlittell
Ohh, I see now. That's perfect. I hadn't realized that was in the API. thanks... > I think you want to use the MultiFieldQueryParser instead of the > QueryParser. > > [EMAIL PROTECTED] wrote: > >>Is there a way to make the default search to go across all fields? >> >>For example, suppose I have

Default searching across all fields?

2006-01-10 Thread tlittell
Is there a way to make the default search to go across all fields? For example, suppose I have two fields "title" & "content", and we have the following: String queryText = "dogs cats"; QueryParser qParser = ...; Query query = qParser.parse(queryText); // uses DFLT field. But what if you want

Re: going from Document -> IndexReader's docid

2005-11-09 Thread tlittell
Ahh, thank you very much. That's exactly what I needed, I just didn't see that in the API. cheers, Todd > The question is, how did you get that Document? If you got it from > Hits, you can get the document id from Hits.id(hit_num). > > Erik > > > > On 9 Nov 2005, at 11:13, Yonik Seeley w

going from Document -> IndexReader's docid

2005-11-09 Thread tlittell
If I have a Document object (doc), and I also have an IndexReader open, how can I find out IndexReader's docid corresponding to (doc)? IndexReader has a map from docid -> Document, but I don't see the reverse. thanks in advance, Todd