fulltext search API
Bug #251276 reported by
solrize
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Open Library |
Confirmed
|
Wishlist
|
Edward Betts |
Bug Description
Add fulltext json api for fulltext solr search.
Related: request #236947 which is about bibliographic search. I'm opening a separate tracker item for fulltext search since the other one is getting rather long, and I think the likely client applications for bibliographic and fulltext search will be somewhat separate from each other.
Changed in openlibrary: | |
assignee: | nobody → solrize |
importance: | Undecided → Wishlist |
status: | New → Confirmed |
tags: | added: search |
Changed in openlibrary: | |
status: | Confirmed → Invalid |
Changed in openlibrary: | |
status: | Invalid → Won't Fix |
status: | Won't Fix → Confirmed |
To post a comment you must log in.
Per Raj's request, the fulltext api has to expose enough information for search highlighting in a scanned image viewer. I'm planning to insert a stored field with each indexed page, giving the byte offset into the relevant djvu_xml file where the xml for that page is. At least initially, it will then be up to the book viewer to send an http range request to get the relevant XML page out of the djvu, figure out where the requested words are and match the words up with pixel coordinates. I may be able to do something better later, but this is a start.