 (defn tags-to-string [tags]
   (apply str (interpose " " tags)))
 
-(def re-term #"[a-zåäö#0-9\-_]+")
+(def re-term #"[a-zåäö#:0-9\-_]+")
 
 (defn to-term-seq [^String words]
   (if (string? words)

;; Results set is paginated, and it is sorted by :lastModifiedDate 
;; -field of the exercise, so that the latest exercise is the first search result.
;; 

;; Ref to associative map from a search term to set of document id:s where 
;; search term occurred. Set of document ids is referred later as "postings" of 

            [clojure.string :as string])
  (:import [org.bson.types ObjectId]))

;; MongoDB full text search for the exercise collection. 
;;
;; Maintains in-memory structures for indexing all documents in "exercise" mongo collection.
