ischool.info340.teamE
Class SearchEngine
java.lang.Object
ischool.info340.teamE.SearchEngine
public class SearchEngine
- extends java.lang.Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
tagIndexLocation
public static final java.io.File tagIndexLocation
mediaIndexLocation
public static final java.io.File mediaIndexLocation
placeIndexLocation
public static final java.io.File placeIndexLocation
SearchEngine
public SearchEngine()
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)