Liking cljdoc? Tell your friends :D

com.eldrix.hermes.impl.lucene


q-andclj

(q-and queries)

Generate a logical conjunction of the queries. If there is more than one query, and one of those queries contains a single 'must-not' clause, it is flattened into the new query.

Generate a logical conjunction of the queries.
If there is more than one query, and one of those queries contains a single
'must-not' clause, it is flattened into the new query.
sourceraw docstring

q-notclj

(q-not q1 q2)

Returns the logical query of q1 NOT q2

Returns the logical query of q1 NOT q2
sourceraw docstring

q-orclj

(q-or queries)

Generate a logical disjunction of the queries. If there is more than one query, and one of those queries contains a single 'must-not' clause, it is flattened and re-written into the new query. As this is an 'or' operation, that means it will be combined with a 'match-all-documents'.

Generate a logical disjunction of the queries.
If there is more than one query, and one of those queries contains a single
'must-not' clause, it is flattened and re-written into the new query.
As this is an 'or' operation, that means it will be combined with a
'match-all-documents'.
sourceraw docstring

search-allclj

(search-all searcher q)

Search a lucene index and return all results matching query specified. Results are returned as a sequence of Lucene document ids.

Search a lucene index and return *all* results matching query specified.
Results are returned as a sequence of Lucene document ids.
sourceraw docstring

stream-allclj

(stream-all searcher q ch)
(stream-all searcher q ch close?)

Search a lucene index and return all results on the channel specified. Results are returned as Lucene document ids.

Search a lucene index and return *all* results on the channel specified.
Results are returned as Lucene document ids.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close