Class RemoteSearchable

    • Constructor Summary

      Constructors 
      Constructor Description
      RemoteSearchable​(org.apache.lucene.search.Searchable local)
      Deprecated.
      Constructs and exports a remote searcher.
    • Constructor Detail

      • RemoteSearchable

        public RemoteSearchable​(org.apache.lucene.search.Searchable local)
                         throws RemoteException
        Deprecated.
        Constructs and exports a remote searcher.
        Throws:
        RemoteException
    • Method Detail

      • search

        public void search​(org.apache.lucene.search.Weight weight,
                           org.apache.lucene.search.Filter filter,
                           org.apache.lucene.search.Collector results)
                    throws IOException
        Deprecated.
        Specified by:
        search in interface org.apache.lucene.search.Searchable
        Throws:
        IOException
      • docFreq

        public int docFreq​(org.apache.lucene.index.Term term)
                    throws IOException
        Deprecated.
        Specified by:
        docFreq in interface org.apache.lucene.search.Searchable
        Throws:
        IOException
      • docFreqs

        public int[] docFreqs​(org.apache.lucene.index.Term[] terms)
                       throws IOException
        Deprecated.
        Specified by:
        docFreqs in interface org.apache.lucene.search.Searchable
        Throws:
        IOException
      • maxDoc

        public int maxDoc()
                   throws IOException
        Deprecated.
        Specified by:
        maxDoc in interface org.apache.lucene.search.Searchable
        Throws:
        IOException
      • search

        public org.apache.lucene.search.TopDocs search​(org.apache.lucene.search.Weight weight,
                                                       org.apache.lucene.search.Filter filter,
                                                       int n)
                                                throws IOException
        Deprecated.
        Specified by:
        search in interface org.apache.lucene.search.Searchable
        Throws:
        IOException
      • search

        public org.apache.lucene.search.TopFieldDocs search​(org.apache.lucene.search.Weight weight,
                                                            org.apache.lucene.search.Filter filter,
                                                            int n,
                                                            org.apache.lucene.search.Sort sort)
                                                     throws IOException
        Deprecated.
        Specified by:
        search in interface org.apache.lucene.search.Searchable
        Throws:
        IOException
      • doc

        public org.apache.lucene.document.Document doc​(int i)
                                                throws org.apache.lucene.index.CorruptIndexException,
                                                       IOException
        Deprecated.
        Specified by:
        doc in interface org.apache.lucene.search.Searchable
        Throws:
        org.apache.lucene.index.CorruptIndexException
        IOException
      • doc

        public org.apache.lucene.document.Document doc​(int i,
                                                       org.apache.lucene.document.FieldSelector fieldSelector)
                                                throws org.apache.lucene.index.CorruptIndexException,
                                                       IOException
        Deprecated.
        Specified by:
        doc in interface org.apache.lucene.search.Searchable
        Throws:
        org.apache.lucene.index.CorruptIndexException
        IOException
      • rewrite

        public org.apache.lucene.search.Query rewrite​(org.apache.lucene.search.Query original)
                                               throws IOException
        Deprecated.
        Specified by:
        rewrite in interface org.apache.lucene.search.Searchable
        Throws:
        IOException
      • explain

        public org.apache.lucene.search.Explanation explain​(org.apache.lucene.search.Weight weight,
                                                            int doc)
                                                     throws IOException
        Deprecated.
        Specified by:
        explain in interface org.apache.lucene.search.Searchable
        Throws:
        IOException
      • main

        public static void main​(String[] args)
                         throws Exception
        Deprecated.
        Exports a searcher for the index in args[0] named "//localhost/Searchable".
        Throws:
        Exception