lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dmitrii PapaGeorgio <>
Subject Index and Search question in Lucene.
Date Sun, 15 Aug 2004 20:13:43 GMT
Ok so when I index a file such as below

Document doc = new Document();
doc.Add(Field.Text("contents", new StreamReader(dataDir)));
doc.Add(Field.Keyword("filename", dataDir));

I can do a search as this
"+contents:SomeWord  +filename:SomePath"


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message