Segment is indexed as a field so you could write a query filter the includes the segment name. You could also use an IndexReader and loop through document by document from 0 to maxDoc() -1 checking for the segment field. The second option is much more resource intensive though.
Dennis NG-Marketing, M.Schneider wrote: > Hello List, > > > > I write a plugin to add some data to an index in a single segment. > > Is there a query to hit all documents within one segment or how I could > parse them all one by one? > > > > Regargs > > Matthias > > > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nutch-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nutch-general
