@@ -211,6 +211,9 @@
211 ?+ path [~ ~]
211 ?+ path [~ ~]
212 [%x %published ~]
212 [%x %published ~]
213 ``directory+!>(published)
213 ``directory+!>(published)
215 [%x %lookup @ @ @ $@(~ [@ ~])]
218 [%x %lookup @ @ @ $@(~ [@ ~])]
216 =- ``search+!>(-)
219 =- ``search+!>(-)
@@ -231,11 +234,16 @@
231 ~(val by directory)
234 ~(val by directory)
232 |= =listing:s
235 |= =listing:s
233 |(=(filter %all) =(filter type.post.listing))
236 |(=(filter %all) =(filter type.post.listing))
237+ =/ entries (~(get-entries delver [lookup trigrams phonetics]) term)
240+ :: |= [=hash:s =rank:s]
241+ :: [(~(got by directory) hash) rank]
235 %- get-listings
243 %- get-listings
236 %- get-hashes
244 %- get-hashes
237 %- sort-entries
245 %- sort-entries
238− (~(get-entries delver [lookup trigrams phonetics]) term)
246+ entries
239 |= =listing:s
247 |= =listing:s
240 |(=(filter %all) =(filter type.post.listing))
248 |(=(filter %all) =(filter type.post.listing))
241 =/ listings (swag [start limit] all)
249 =/ listings (swag [start limit] all)