Looks like a bug. It is supposed to work with space, not underscore. When the 
form is submitted the spaces are encoded as +, so that part is alright.

I'll have a look at it.

Anand

On 10-Nov-2013, at 5:07 AM, Jeff Kaplan wrote:

> search button query is adding a it's adding a "+" instead of a "_" for a space
> 
> https://openlibrary.org/search/subjects?q=historical_fiction works
> https://openlibrary.org/search/subjects?q=historical+fiction does not
> 
> -jeff
> 
> 
> On Nov 9, 2013, at 1:32 PM, jessamyn c. west wrote:
> 
>> Trying to find historical fiction books in the subject search, starting here
>> 
>> https://openlibrary.org/subjects
>> 
>> So this search for historical fiction
>> 
>> https://openlibrary.org/search/subjects?q=historical+fiction
>> 
>> finds zero results. Happens even if you use quotes around the phrase
>> 
>> https://openlibrary.org/search/subjects?q=%22historical+fiction%22&search=
>> 
>> which also finds zero results even though there are many matching subjects.
>> 
>> https://openlibrary.org/search/subjects?q=historical
>> 
>> This appears to be happening with every two word search, including the
>> examples we give
>> 
>> https://openlibrary.org/search/subjects?q=dog+park
>> https://openlibrary.org/search/subjects?q=halley%27s+comet&search=
>> https://openlibrary.org/search/subjects?q=west+indies&search=
>> 
>> but doesn't happen if you use the "Subject" search that is in the
>> expanded search in the upper right
>> 
>> https://openlibrary.org/search?subject=dog+park
>> 
>> So, I think it might be a bug? Let me know if anyone can suss out why
>> this is happening and/or how to fix. I'm sure it hasn't always been
>> this way.
>> 
>> Jessamyn
>> _______________________________________________
>> Ol-tech mailing list
>> [email protected]
>> http://mail.archive.org/cgi-bin/mailman/listinfo/ol-tech
>> Archives: http://www.mail-archive.com/[email protected]/
>> To unsubscribe from this mailing list, send email to 
>> [email protected]
> 
> _______________________________________________
> Ol-tech mailing list
> [email protected]
> http://mail.archive.org/cgi-bin/mailman/listinfo/ol-tech
> Archives: http://www.mail-archive.com/[email protected]/
> To unsubscribe from this mailing list, send email to 
> [email protected]

_______________________________________________
Ol-tech mailing list
[email protected]
http://mail.archive.org/cgi-bin/mailman/listinfo/ol-tech
Archives: http://www.mail-archive.com/[email protected]/
To unsubscribe from this mailing list, send email to 
[email protected]

Reply via email to