adding query syntax to check for existance of a value in a field, especially uri field
Bug #314193 reported by
Richard Aroksaar
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Open Library |
Confirmed
|
High
|
Anand Chitipothu |
Bug Description
It would be useful to be able to restrict searches to citations that have some value in a given field, especially the uri field. This would mimic SQL syntax that tests for NOT NULL values. Specifically it would be useful to focus searches for citations that have harvestable links to web resources, besides the fulltext subset in OL.
Changed in openlibrary: | |
assignee: | nobody → Anand Chitipothu (anandology) |
tags: | added: api |
Changed in openlibrary: | |
assignee: | Anand Chitipothu (anandology) → Edward Betts (edwardbetts) |
status: | New → Incomplete |
status: | Incomplete → Won't Fix |
Changed in openlibrary: | |
status: | Won't Fix → Confirmed |
assignee: | Edward Betts (edwardbetts) → Anand Chitipothu (anandology) |
importance: | Undecided → Low |
To post a comment you must log in.
It may already be possible to do this with existing lucene syntax in a search query. I'll look at the docs and see if I can figure out a way. If not, it can be done by adding a new field to each record at search index time, containing the names of all nonempty field for that record.
Books with uri's actually sounds useful enough that it may be worth adding as a search facet. Any thoughts?