Hi Demian,
Thanks for the response.  

Maybe I've configured something wrong.  It's very strange, when I search for a call number that does not contain a colon within quotes...it finds the item I'm expecting.  When I search for a call number that contains a colon and put the call number within quotes, I don't get an error anymore but it doesn't find any results either.

This works:
"822.33 X2 S527"
INFO: [biblio] webapp=/solr path=/select/ params={spellcheck=true&facet=true&sor

This does not:
"C 13.29/2:136 1981"
INFO: [biblio] webapp=/solr path=/select/ params={spellcheck=true&fl=score&inden
lcheck.dictionary=basicSpell&json.nl=arrarr&wt=json&rows=20} hits=0 status=0 

On Fri, Jan 27, 2012 at 2:35 PM, Demian Katz <demian.katz@villanova.edu> wrote:
The problem is that Solr thinks you're doing a fielded search because of the colon.  The easiest workaround is to put the query in double quotes.

(A more complex solution, which might be worth considering, would be to give VuFind the ability to distinguish valid vs. invalid Solr fields and process the query accordingly...  but that could get complicated, especially now that we've added dynamic fields; this might actually be something that Extended DisMax can take care of, though I still haven't had time to experiment with that yet).

- Demian
From: Michelle Suranofsky [mis306@lehigh.edu]
Sent: Friday, January 27, 2012 1:17 PM
To: vufind-tech@lists.sourceforge.net
Subject: [VuFind-Tech] Problem with searching for call numbers with a colon


Can anyone tell me if there is a known problem with searching for a call number that contains a colon?  I'm running into the exception pasted below and I've tried a couple of public VuFind implementations like the vufind test site and the problem seems to exist there as well....(assuming it is the same problem because of the "There seems to be a problem with your search query." message)

Searching for:

GA 1.13:GAO-11-684

Produces this error:

SEVERE: org.apache.solr.common.SolrException: undefined field 1.13
       at org.apache.solr.schema.IndexSchema.getDynamicFieldType(IndexSchema.ja
       at org.apache.solr.schema.IndexSchema$SolrQueryAnalyzer.getAnalyzer(Inde
       at org.apache.solr.schema.IndexSchema$SolrIndexAnalyzer.reusableTokenStr
       at org.apache.lucene.queryParser.QueryParser.getFieldQuery(QueryParser.j

Any suggestions for fixing/working around are greatly appreciated!!!

thank you,