Update of /cvsroot/fink/php-lib/Zend/Search/Lucene
In directory
sc8-pr-cvs17.sourceforge.net:/tmp/cvs-serv11017/php-lib/Zend/Search/Lucene
Modified Files:
Interface.php Proxy.php
Log Message:
not actually going to use this, but committing for completeness in case I need
to get back to it
Index: Interface.php
===================================================================
RCS file: /cvsroot/fink/php-lib/Zend/Search/Lucene/Interface.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- Interface.php 27 Nov 2007 14:33:38 -0000 1.1
+++ Interface.php 27 Nov 2007 21:57:12 -0000 1.2
@@ -324,6 +324,43 @@
*/
public function terms();
+
+ /**
+ * Reset terms stream.
+ */
+ public function resetTermsStream();
+
+ /**
+ * Skip terms stream up to specified term preffix.
+ *
+ * Prefix contains fully specified field info and portion of searched term
+ *
+ * @param Zend_Search_Lucene_Index_Term $prefix
+ */
+ public function skipTo(Zend_Search_Lucene_Index_Term $prefix);
+
+ /**
+ * Scans terms dictionary and returns next term
+ *
+ * @return Zend_Search_Lucene_Index_Term|null
+ */
+ public function nextTerm();
+
+ /**
+ * Returns term in current position
+ *
+ * @return Zend_Search_Lucene_Index_Term|null
+ */
+ public function currentTerm();
+
+ /**
+ * Close terms stream
+ *
+ * Should be used for resources clean up if stream is not read up to the
end
+ */
+ public function closeTermsStream();
+
+
/**
* Undeletes all documents currently marked as deleted in this index.
*/
Index: Proxy.php
===================================================================
RCS file: /cvsroot/fink/php-lib/Zend/Search/Lucene/Proxy.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- Proxy.php 27 Nov 2007 14:33:39 -0000 1.1
+++ Proxy.php 27 Nov 2007 21:57:12 -0000 1.2
@@ -460,6 +460,58 @@
return $this->_index->terms();
}
+
+ /**
+ * Reset terms stream.
+ */
+ public function resetTermsStream()
+ {
+ $this->_index->resetTermsStream();
+ }
+
+ /**
+ * Skip terms stream up to specified term preffix.
+ *
+ * Prefix contains fully specified field info and portion of searched term
+ *
+ * @param Zend_Search_Lucene_Index_Term $prefix
+ */
+ public function skipTo(Zend_Search_Lucene_Index_Term $prefix)
+ {
+ return $this->_index->skipTo($prefix);
+ }
+
+ /**
+ * Scans terms dictionary and returns next term
+ *
+ * @return Zend_Search_Lucene_Index_Term|null
+ */
+ public function nextTerm()
+ {
+ return $this->_index->nextTerm();
+ }
+
+ /**
+ * Returns term in current position
+ *
+ * @return Zend_Search_Lucene_Index_Term|null
+ */
+ public function currentTerm()
+ {
+ return $this->_index->currentTerm();
+ }
+
+ /**
+ * Close terms stream
+ *
+ * Should be used for resources clean up if stream is not read up to the
end
+ */
+ public function closeTermsStream()
+ {
+ $this->_index->closeTermsStream();
+ }
+
+
/**
* Undeletes all documents currently marked as deleted in this index.
*/
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Fink-commits mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.cvs