Mercurial > hg > fulltextSearch
comparison src/de/mpiwg/dwinter/fulltext/search/IFulltextSearch.java @ 2:2b29b0b6db16 default tip
Version mit integrierter Suche ?ber XML-Volltexte
author | dwinter |
---|---|
date | Wed, 26 Jan 2011 14:41:09 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
1:5c9c31510f0c | 2:2b29b0b6db16 |
---|---|
1 package de.mpiwg.dwinter.fulltext.search; | |
2 | |
3 import java.io.IOException; | |
4 import java.util.ArrayList; | |
5 import java.util.HashMap; | |
6 | |
7 import javax.xml.parsers.ParserConfigurationException; | |
8 import javax.xml.xpath.XPathExpressionException; | |
9 | |
10 import org.apache.lucene.queryParser.ParseException; | |
11 import org.apache.lucene.search.Collector; | |
12 import org.apache.lucene.search.Query; | |
13 import org.xml.sax.SAXException; | |
14 | |
15 public interface IFulltextSearch { | |
16 | |
17 public abstract Collector search(Query query, String language) | |
18 throws IOException; | |
19 | |
20 public abstract HashMap<String, Collector> search(Query query) | |
21 throws IOException; | |
22 | |
23 public abstract HashMap<String, Collector> searchMD(String searchString, | |
24 String mdString, ArrayList<String> languages) | |
25 throws ParseException, IOException; | |
26 | |
27 public abstract HashMap<String, Collector> search(String searchString) | |
28 throws IOException, ParseException; | |
29 | |
30 public abstract ArrayList<String> searchForMorph(String path, String word) | |
31 throws ParseException, IOException, ParserConfigurationException, | |
32 SAXException, XPathExpressionException; | |
33 | |
34 } |