The lucene query message class. This class inherits all the functionality of the lucene_connection, lucene_msg and lucene_message classes. It adds query-specific methods for searching.
Located in /lucene-defs.php (line 938)
search | --lucene_connection | --lucene_msg | --lucene_message | --lucene_querymsg
Class | Description |
---|---|
![]() |
The lucene search class |
Set to true if sort limit was exceeded in query
Set to true if Lucene blew its memory trying to sort
Inherited from lucene_message
lucene_message::$response
Inherited from lucene_msg
lucene_msg::$built
lucene_msg::$error_msg
lucene_msg::$fieldset
lucene_msg::$type
lucene_msg::$xmltags
Inherited from lucene_connection
lucene_connection::$connected
lucene_connection::$enabled
lucene_connection::$host
lucene_connection::$message
lucene_connection::$port
lucene_connection::$responsebuf
lucene_connection::$sockfp
lucene_connection::$timeoutsecs
lucene_connection::$timer
Inherited from search
search::$date_end
search::$date_fieldname
search::$date_start
search::$executed
search::$hit
search::$max_results
search::$query
search::$searchterm
search::$skip_results
search::$title
Constructor Make a new Lucene query message. You can specify the application to use here, and also an optional query string to send.
Send the message to Lucene, and then post-process the response for
query hits. The hitcount is extracted, followed by the hits, which may comprise multiple fields. A hit is thus defined as an array of fields, and each hit is put into a single container array called 'hit', which is a property of the parent class 'search'.
Set the query for this message. There can be only one query defined.
This method can be called repeatedly, and each time it is called the new value will replace the old one.
Inherited From lucene_message
lucene_message::lucene_message()
lucene_message::define_field()
lucene_message::set_first()
lucene_message::set_limit()
lucene_message::set_range()
lucene_message::set_returnfields()
lucene_message::set_sortorder()
lucene_message::set_stopwords()
Inherited From lucene_msg
lucene_msg::lucene_msg()
lucene_msg::add_field()
lucene_msg::add_xmltag()
lucene_msg::clear()
lucene_msg::send()
lucene_msg::set_application()
lucene_msg::set_domain()
Inherited From lucene_connection
lucene_connection::lucene_connection()
lucene_connection::send()
lucene_connection::set_timeout()
Inherited From search
search::search()
search::clear_daterange()
search::clear_search()
search::does_not_match()
search::has_daterange()
search::hitcount()
search::initialise()
search::match()
search::may_match()
search::must_match()
search::reset_search()
search::set_daterange()
search::set_maxresults()
search::set_skipresults()
search::termcount()
Documentation generated by phpDocumentor 1.3.0RC3