Examples of LuceneLocationResolver


Examples of com.bericotech.clavin.resolver.LuceneLocationResolver

        if (maxContextWindow < 1) {
            LOGGER.debug("Found %s of %d. Using default: %d", CLAVIN_MAX_CONTEXT_WINDOW, maxContextWindow, DEFAULT_MAX_CONTENT_WINDOW);
            maxContextWindow = DEFAULT_MAX_CONTENT_WINDOW;
        }

        resolver = new LuceneLocationResolver(indexDirectory, maxHitDepth, maxContextWindow);
    }
View Full Code Here

Examples of com.bericotech.clavin.resolver.LuceneLocationResolver

    public static GeoParser getDefault(
            String pathToLuceneIndex, LocationExtractor extractor, int maxHitDepth, int maxContentWindow, boolean fuzzy)
                    throws IOException, ParseException{
       
        // instantiate new LuceneLocationResolver with supplied parameters
        LocationResolver resolver = new LuceneLocationResolver(
                new File(pathToLuceneIndex), maxHitDepth, maxContentWindow);
       
        return new GeoParser(extractor, resolver, fuzzy);
    }
View Full Code Here

Examples of com.bericotech.clavin.resolver.lucene.LuceneLocationResolver

    public static GeoParser getDefault(
            String pathToLuceneIndex, LocationExtractor extractor, int maxHitDepth, int maxContentWindow, boolean fuzzy)
                    throws IOException, ParseException{
       
        // instantiate new LuceneLocationResolver with supplied parameters
        LocationResolver resolver = new LuceneLocationResolver(
                new File(pathToLuceneIndex), maxHitDepth, maxContentWindow);
       
        return new GeoParser(extractor, resolver, fuzzy);
    }
View Full Code Here

Examples of com.bericotech.clavin.resolver.lucene.LuceneLocationResolver

   */
  public static GeoParser getDefault(
      String pathToLuceneIndex, LocationExtractor extractor, int maxHitDepth, int maxContentWindow, boolean fuzzy)
          throws IOException, ParseException{
       
    LocationResolver resolver = new LuceneLocationResolver(
        new File(pathToLuceneIndex), maxHitDepth, maxContentWindow);
   
    return new GeoParser(extractor, resolver, fuzzy);
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.