| java.lang.Object it.unimi.dsi.mg4j.index.Index it.unimi.dsi.mg4j.index.remote.RemoteIndex
RemoteIndex | public class RemoteIndex extends Index (Code) | | A remote index.
Remote indices (as opposed to
)
provide access to document iterators only. For composite indices this is the only possible access, as there is
not underlying bit stream to export.
When a new
it.unimi.dsi.mg4j.index.IndexReader is created, this index
connects to the server and will start a new server thread that will interact with the returned
it.unimi.dsi.mg4j.index.remote.RemoteIndexReader .
author: Sebastiano Vigna since: 1.1 |
Constructor Summary | |
public | RemoteIndex(SocketAddress socketAddress, int numberOfDocuments, int numberOfTerms, long numberOfPostings, long numberOfOccurrences, int maxCount, Payload payload, boolean hasCounts, boolean hasPositions, TermProcessor termProcessor, String field, IntList sizes, Properties properties) |
DEFAULT_BUFFER_SIZE | final public static int DEFAULT_BUFFER_SIZE(Code) | | The default buffer size.
|
RemoteIndex | public RemoteIndex(SocketAddress socketAddress, int numberOfDocuments, int numberOfTerms, long numberOfPostings, long numberOfOccurrences, int maxCount, Payload payload, boolean hasCounts, boolean hasPositions, TermProcessor termProcessor, String field, IntList sizes, Properties properties)(Code) | | |
Methods inherited from it.unimi.dsi.mg4j.index.Index | public IndexIterator documents(int term) throws IOException(Code)(Java Doc) public IndexIterator documents(CharSequence term) throws IOException(Code)(Java Doc) abstract public IndexIterator documents(CharSequence prefix, int limit) throws IOException, TooManyTermsException(Code)(Java Doc) public static Index getInstance(CharSequence uri, boolean randomAccess, boolean documentSizes, boolean maps) throws IOException, ConfigurationException, URISyntaxException, ClassNotFoundException, SecurityException, InstantiationException, IllegalAccessException, InvocationTargetException, NoSuchMethodException(Code)(Java Doc) public static Index getInstance(CharSequence uri, boolean randomAccess, boolean documentSizes) throws IOException, ConfigurationException, URISyntaxException, ClassNotFoundException, SecurityException, InstantiationException, IllegalAccessException, InvocationTargetException, NoSuchMethodException(Code)(Java Doc) public static Index getInstance(CharSequence uri, boolean randomAccess) throws ConfigurationException, IOException, URISyntaxException, ClassNotFoundException, SecurityException, InstantiationException, IllegalAccessException, InvocationTargetException, NoSuchMethodException(Code)(Java Doc) public static Index getInstance(CharSequence uri) throws ConfigurationException, IOException, URISyntaxException, ClassNotFoundException, SecurityException, InstantiationException, IllegalAccessException, InvocationTargetException, NoSuchMethodException(Code)(Java Doc) public IndexReader getReader() throws IOException(Code)(Java Doc) abstract public IndexReader getReader(int bufferSize) throws IOException(Code)(Java Doc) protected static TermProcessor getTermProcessor(Properties properties)(Code)(Java Doc) public void keyIndex(Index newKeyIndex)(Code)(Java Doc)
|
|
|