Results 1 to 2 of 2
  1. #1
    peiceonly is offline Member
    Join Date
    Mar 2007
    Posts
    41
    Rep Power
    0

    Default How to get Id's alone

    Can I get list of document Ids satisfying a given a search criteria ? I dont want the documents just their ids

  2. #2
    goldhouse is offline Senior Member
    Join Date
    Mar 2007
    Posts
    134
    Rep Power
    0

    Default

    extend your class from HitCollector and override the collect()
    method with following signature.

    Java Code:
     
    
    public void collect(int id, float score)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •