                 (str term "\t" (count (distinct postings)) "\n"))
         (spicerack/put!
          postings-list-map
-         term (clojure.string/join ";" postings))))))
+         term postings)))))
 
 (defn write-url-mapping-to-file
   [url-seq]

(defn docid->url
  [docid]
  (-> (some
       #(when (.startsWith % docid) %)
       (line-seq (io/reader URL-MAPPING-FILENAME)))
      (s/split #"\t")
      second))

                (let [postings-map (spicerack/open-hashmap db POSTINGS-LIST-DB)]
                  (get postings-map term)))]
    (if (some? plist)
      plist
      '())))

(defn create-indicies
