From 30eddf57c8de433e8ea02b9e552c8e1744a505a7 Mon Sep 17 00:00:00 2001 From: wei <> Date: Sun, 7 May 2006 03:34:25 +0000 Subject: Add search to quickstart demo. --- .../index/Zend/Search/Lucene/Index/Term.php | 70 ++++++++++++++++++++++ 1 file changed, 70 insertions(+) create mode 100644 demos/quickstart/protected/index/Zend/Search/Lucene/Index/Term.php (limited to 'demos/quickstart/protected/index/Zend/Search/Lucene/Index/Term.php') diff --git a/demos/quickstart/protected/index/Zend/Search/Lucene/Index/Term.php b/demos/quickstart/protected/index/Zend/Search/Lucene/Index/Term.php new file mode 100644 index 00000000..e30ce587 --- /dev/null +++ b/demos/quickstart/protected/index/Zend/Search/Lucene/Index/Term.php @@ -0,0 +1,70 @@ +field = $field; + $this->text = $text; + } + + + /** + * @todo docblock + */ + public function key() + { + return $this->field . chr(0) . $this->text; + } +} + -- cgit v1.2.3