ischool.info340.teamE
Class SearchEngine

java.lang.Object
  extended by ischool.info340.teamE.SearchEngine

public class SearchEngine
extends java.lang.Object


Field Summary
static java.io.File mediaIndexLocation
           
static java.io.File placeIndexLocation
           
static java.io.File tagIndexLocation
           
 
Constructor Summary
SearchEngine()
           
 
Method Summary
static boolean buildIndexes()
           
static void buildMediaIndex()
           
static void buildPlaceIndex()
           
static void buildTagIndex()
           
static java.util.Collection searchMediaDescriptions(java.lang.String query, java.util.Date start, java.util.Date end)
           
static java.util.Collection searchPlaceTagDescriptions(java.lang.String query, int offset, int count)
           
static java.util.Collection searchTagTitles(java.lang.String query)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

tagIndexLocation

public static final java.io.File tagIndexLocation

mediaIndexLocation

public static final java.io.File mediaIndexLocation

placeIndexLocation

public static final java.io.File placeIndexLocation
Constructor Detail

SearchEngine

public SearchEngine()
Method Detail

buildTagIndex

public static void buildTagIndex()
                          throws java.io.IOException
Throws:
java.io.IOException

buildPlaceIndex

public static void buildPlaceIndex()
                            throws java.io.IOException
Throws:
java.io.IOException

buildMediaIndex

public static void buildMediaIndex()
                            throws java.io.IOException
Throws:
java.io.IOException

buildIndexes

public static boolean buildIndexes()
                            throws java.io.IOException
Throws:
java.io.IOException

searchTagTitles

public static java.util.Collection searchTagTitles(java.lang.String query)

searchPlaceTagDescriptions

public static java.util.Collection searchPlaceTagDescriptions(java.lang.String query,
                                                              int offset,
                                                              int count)

searchMediaDescriptions

public static java.util.Collection searchMediaDescriptions(java.lang.String query,
                                                           java.util.Date start,
                                                           java.util.Date end)