From: Jon L. <jo...@yl...> - 2010-02-02 20:03:58
|
I ran the optimize script, but still no change. When I click on the link I get: HTTP ERROR: 400 undefined field word RequestURI=/solr/biblio/select/ Jon Legree Information & Technology Services Manager Yorba Linda Public Library 18181 Imperial Highway Yorba Linda, CA 92886 714.777.2873.119 http://www.ylpl.lib.ca.us -----Original Message----- From: Demian Katz [mailto:dem...@vi...] Sent: Tuesday, February 02, 2010 11:58 AM To: Jon Legree; vuf...@li... Subject: RE: [VuFind-Tech] unable to process query error Definitely looks consistent with the settings that work fine for me. Very strange! What is the full Solr response if you go to the Solr request URL from the debug info? Anything informative beyond the ubiquitous "undefined field word" error? How about if you add "&debugQuery=true" to the end? I tried http://12.204.89.98:8080/solr/biblio/select/?q=%2A%3A%2A&rows=20&start=0&ind ent=yes&fl=score&facet=true&facet.mincount=1&facet.limit=100&facet.field=dew ey-hundreds&facet.field=language&facet.field=format&facet.prefix=&facet.sort =&wt=json&json.nl=arrarr but was unable to get a response (probably a good thing -- hopefully it means your firewall is working correctly). Anyway, I'll be interested to hear what you're seeing, and whether the optimize makes any difference. - Demian > -----Original Message----- > From: Jon Legree [mailto:jo...@yl...] > Sent: Tuesday, February 02, 2010 2:44 PM > To: vuf...@li... > Subject: Re: [VuFind-Tech] unable to process query error > > Here's the debug info from the Advanced page: > > Search options: Array > ( > [q] => *:* > [rows] => 20 > [start] => 0 > [indent] => yes > [fl] => score > [facet] => true > [facet.mincount] => 1 > [facet.limit] => 100 > [facet.field] => Array > ( > [0] => dewey-hundreds > [1] => language > [2] => format > ) > > [facet.prefix] => > [facet.sort] => > ) > > > POST: > http://localhost:8080/solr/biblio/select/?q=%2A%3A%2A&rows=20&start=0&i > ndent > =yes&fl=score&facet=true&facet.mincount=1&facet.limit=100&facet.field=d > ewey- > hundreds&facet.field=language&facet.field=format&facet.prefix=&facet.so > rt=&w > t=json&json.nl=arrarr > > I thought maybe spellchecking might be an issue. I turned it off in > config.ini, but still get the same errors. > > I'll try optimizing in a minute... > > Jon Legree > Information & Technology Services Manager > Yorba Linda Public Library > 18181 Imperial Highway > Yorba Linda, CA 92886 > 714.777.2873.119 > http://www.ylpl.lib.ca.us > > > > -----Original Message----- > From: Demian Katz [mailto:dem...@vi...] > Sent: Tuesday, February 02, 2010 11:18 AM > To: Jon Legree; vuf...@li... > Subject: RE: [VuFind-Tech] unable to process query error > > I just tried to recreate your problem by adding bad lines to my > facets.ini > file, and it didn't yield the results I expected... so I guess that > theory > is probably not the right one. Do you mind copying and pasting the > full > debug info? > > On the Advanced search screen, here is what mine looks like: > > Search options: Array > ( > [q] => *:* > [rows] => 20 > [start] => 0 > [indent] => yes > [fl] => score > [facet] => true > [facet.mincount] => 1 > [facet.limit] => 100 > [facet.field] => Array > ( > [0] => callnumber-first > [1] => language > [2] => format > ) > > [facet.prefix] => > [facet.sort] => > ) > > > POST: > http://localhost:8082/solr/biblio/select/?q=%2A%3A%2A&rows=20&start=0&i > ndent > =yes&fl=score&facet=true&facet.mincount=1&facet.limit=100&facet.field=c > allnu > mber- > first&facet.field=language&facet.field=format&facet.prefix=&facet.sort= > &wt=json&json.nl=arrarr > > If yours is any different, that might be a useful clue. If it's > exactly the > same, what do you get if you go directly to the Solr URL provided in > the > output? > > A side note -- while debugging this on my end, I discovered that VuFind > was > doing some unnecessary extra Solr lookups for spellchecking purposes > even > though it didn't need to in this context. I've fixed the problem in > r2213. > I don't think this is likely to have any impact on your problem, but > you > might want to update to the latest code just to simplify what's going > on in > the background. > > Another thought -- have you optimized your index? You can run the > util/optimize.php script to do this. I doubt this is the cause of your > problem either, but if spellcheck was somehow causing the problem and > you > hadn't generated your initial spelling index by running an optimize > action, > perhaps that could cause trouble. > > - Demian > > > -----Original Message----- > > From: Jon Legree [mailto:jo...@yl...] > > Sent: Tuesday, February 02, 2010 2:00 PM > > To: vuf...@li... > > Subject: Re: [VuFind-Tech] unable to process query error > > > > Debugging doesn't seem to provide any useful info. The same debug > > information shows up on each page. I'll try to track down the messed > up > > line > > of text. If that doesn't work, I'll try a complete reinstall. > > > > Thanks for the help! > > > > Jon Legree > > Information & Technology Services Manager > > Yorba Linda Public Library > > 18181 Imperial Highway > > Yorba Linda, CA 92886 > > 714.777.2873.119 > > http://www.ylpl.lib.ca.us > > > > > > > > -----Original Message----- > > From: Demian Katz [mailto:dem...@vi...] > > Sent: Tuesday, February 02, 2010 10:50 AM > > To: Jon Legree; vuf...@li... > > Subject: RE: [VuFind-Tech] unable to process query error > > > > Given the context in which this is happening, it seems like the > culprit > > is > > the code that grabs full facet lists from Solr in order to populate > the > > Advanced Search limit boxes, the browse lists on the default theme's > > homepage, etc. Is it possible that you have a bad line in > > web/conf/facets.ini? Perhaps somewhere in there there's an > accidental > > "word > > = xxx" line that is causing VuFind to try to load a word facet that > > doesn't > > exist. Seems kind of unlikely, but it's the next best explanation I > > can > > come up with. > > > > If that doesn't help, do you get more details if you turn debug on? > Do > > you > > see the same debug output on all of the various error pages? > > > > - Demian > > > > > -----Original Message----- > > > From: Jon Legree [mailto:jo...@yl...] > > > Sent: Tuesday, February 02, 2010 1:44 PM > > > To: vuf...@li... > > > Subject: Re: [VuFind-Tech] unable to process query error > > > > > > Thanks for the reply, Demian, > > > > > > I re-indexed the records with the new install, and all of the Solr > > > settings > > > are defaults. I've made no changes to the schema or any of the > > > properties > > > files. > > > > > > Here's what's happening: > > > > > > http://12.204.89.98:3002/vufind > > > > > > I get the Unable to process query > > > Solr Returned: undefined field word > > > > > > Error. > > > > > > Advanced Search: > > > > > > http://12.204.89.98:3002/vufind/Search/Advanced > > > > > > > > > Same error. > > > > > > Login page: > > > > > > http://12.204.89.98:3002/vufind/MyResearch/Home > > > > > > No error. > > > > > > > > > Search results are OK: > > > > > > > > > http://12.204.89.98:3002/vufind/Search/Results?lookfor=dogs&type=AllFie > > > lds&s > > > ubmit=Find > > > > > > > > > Browse by call number gives the same error: > > > > > > http://12.204.89.98:3002/vufind/Browse/Dewey > > > > > > Other browses work: > > > > > > http://12.204.89.98:3002/vufind/Browse/Topic > > > > > > I switched back to LC call number facets and get all the same > errors. > > > > > > I'm stumped - not sure where to look! > > > > > > Jon Legree > > > Information & Technology Services Manager > > > Yorba Linda Public Library > > > 18181 Imperial Highway > > > Yorba Linda, CA 92886 > > > 714.777.2873.119 > > > http://www.ylpl.lib.ca.us > > > > > > > > > > > > -----Original Message----- > > > From: Demian Katz [mailto:dem...@vi...] > > > Sent: Tuesday, February 02, 2010 9:50 AM > > > To: jo...@yl...; vuf...@li... > > > Subject: RE: [VuFind-Tech] unable to process query error > > > > > > Did you re-index your records with the new installation of VuFind, > or > > > did > > > you copy a Solr index from an existing VuFind install? I've seen > > > errors > > > like this when Solr encounters a record that contains a field not > > > defined in > > > its schema. Sometimes if you add fields to the schema, index some > > > records, > > > then re-load the default schema from SVN, it will get confused and > > > display > > > errors like this because the records you indexed while using the > > > customized > > > schema contain fields that are no longer defined. If in doubt, try > > > clearing > > > out your index and reindexing the records to see if that helps. > > > > > > If that's not the problem, do you mind providing a little more > > > information? > > > I'm a little unclear about how searches are working, but you can't > > > access > > > any pages in the Search module. > > > > > > thanks, > > > Demian > > > > > > > -----Original Message----- > > > > From: jo...@yl... [mailto:jo...@yl...] > > > > Sent: Tuesday, February 02, 2010 10:10 AM > > > > To: vuf...@li... > > > > Subject: [VuFind-Tech] unable to process query error > > > > > > > > I've got a brand new install of the "record_drivers" branch > running > > > on > > > > windows server 2008. There is a small collection of records and > > > > searches are working. I've got the Dewey decimal facets activated > > and > > > > they are working as well. The problem is, when I bring up the > > > > index,php page, or any Search module pages, I get the following > > > error: > > > > > > > > Unable to process query > > > > Solr Returned: undefined field word > > > > > > > > POST: > > > > > > > > > > http://localhost:8080/solr/biblio/select/?q=%2A%3A%2A&rows=20&start=0&i > > > > > > > > > > ndent=yes&fl=score&facet=true&facet.mincount=1&facet.limit=100&facet.fi > > > > eld=dewey- > > > > > > > > > > hundreds&facet.field=language&facet.field=format&facet.prefix=&facet.so > > > > rt=&wt=json&json.nl=arrarr > > > > > > > > > > > > Anyone have any suggestions? > > > > > > > > Many thanks in advance! > > > > > > > > Jon. > > > > > > > > > > > > ----------------------------------------------------------------- > -- > > -- > > > -- > > > > ------- > > > > The Planet: dedicated and managed hosting, cloud storage, > > colocation > > > > Stay online with enterprise data centers and the best network in > > the > > > > business > > > > Choose flexible plans and management services without long-term > > > > contracts > > > > Personal 24x7 support from experience hosting pros just a phone > > call > > > > away. > > > > http://p.sf.net/sfu/theplanet-com > > > > _______________________________________________ > > > > Vufind-tech mailing list > > > > Vuf...@li... > > > > https://lists.sourceforge.net/lists/listinfo/vufind-tech > > > > > > > > > ------------------------------------------------------------------- > -- > > -- > > > ------- > > > The Planet: dedicated and managed hosting, cloud storage, > colocation > > > Stay online with enterprise data centers and the best network in > the > > > business > > > Choose flexible plans and management services without long-term > > > contracts > > > Personal 24x7 support from experience hosting pros just a phone > call > > > away. > > > http://p.sf.net/sfu/theplanet-com > > > _______________________________________________ > > > Vufind-tech mailing list > > > Vuf...@li... > > > https://lists.sourceforge.net/lists/listinfo/vufind-tech > > > > > > --------------------------------------------------------------------- > -- > > ------- > > The Planet: dedicated and managed hosting, cloud storage, colocation > > Stay online with enterprise data centers and the best network in the > > business > > Choose flexible plans and management services without long-term > > contracts > > Personal 24x7 support from experience hosting pros just a phone call > > away. > > http://p.sf.net/sfu/theplanet-com > > _______________________________________________ > > Vufind-tech mailing list > > Vuf...@li... > > https://lists.sourceforge.net/lists/listinfo/vufind-tech > > > ----------------------------------------------------------------------- > ------- > The Planet: dedicated and managed hosting, cloud storage, colocation > Stay online with enterprise data centers and the best network in the > business > Choose flexible plans and management services without long-term > contracts > Personal 24x7 support from experience hosting pros just a phone call > away. > http://p.sf.net/sfu/theplanet-com > _______________________________________________ > Vufind-tech mailing list > Vuf...@li... > https://lists.sourceforge.net/lists/listinfo/vufind-tech |