Package lius.search

Examples of lius.search.LiusHit


    List bi1 = LuceneActions.getSingletonInstance().ListAllDocuments(
        indexDir, lc);
   
    List bi = SortResults.sortBy(bi1,"Ident");
    for (int i = 0; i < bi.size(); i++) {
      LiusHit lh = (LiusHit) bi.get(i);

      System.out.println("=========" + lh.getDocId());
      Map fields = lh.getLiusFieldsMap();
      Set s = fields.keySet();
      Iterator it = s.iterator();
      while (it.hasNext()) {
        String key = (String) it.next();
        System.out.println(key + ": "
View Full Code Here


        List bi1 = SearchIndex.search(query1, this.indexDir, this.configFile);
       
        for (int i = 0; i < bi1.size(); i++) {
           
            LiusHit lh = (LiusHit) bi1.get(i);
            Map fields = lh.getLiusFieldsMap();

            String[] values = ((LiusField) fields.get("id")).getValues();     
            Folder currentFolder = FolderDao.createInstance().retrieve(values[0]);
            if (currentFolder == null) {
                System.out.println("No folder found for index value id: " + values[0]);
View Full Code Here

TOP

Related Classes of lius.search.LiusHit

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.