Comment 30 for bug 236947

Revision history for this message
solrize (solrize) wrote : Re: search API improvements

Jason, please go ahead and try that query again, the test server was down for some reason and I just restarted it.

MBooks/SDR looks interesting, though its scoring function (like ours) doesn't look that useful. I can put solr's scores into the API search results if they aren't already there and you want them, but search ranking for bibliographic records is quite problematic. Most libraries don't attempt it.

When you say deduping, do you mean merging the search results when more than one query hits a specific book? I can think of various ways to do that but maybe it's more sensible to let the client app do it.

Solr implements Lucene-syntax queries with arbitrary boolean combinations, so you could do your ISBN/OCLC/LCCN query as a big OR instead of a bunch of separate queries, if that helps. I'm hesitant to "officially" support that syntax in the API but if it's an important type of query then I could come up with some json-ified version.