From: Ludwig Z. <lud...@go...> - 2007-10-12 09:24:54
|
Hi, >> org.apache.solr.core.SolrException: Query parsing error: Cannot >> parse >>> '(title:()^3) NOT id:(KM0023434)': Encountered ")" at line 1, >>> column 8. > > It is clear that your records do not have the correct data in them. > This shows that the record you are looking at does not have a title > which is a required field for each record. > Try going to your solr installation > (http://localhost:8080/solr/admin) and try a query for a record such > as "id:KM0023434" to see what data is being stored for the record. > You could also have a look at the records in your data directory. Right, the query "id:KM0023434" doesn't return results, even though there should be sth. But the query "id" returns results, e.g. <doc> <arr name="author"><str>Hyland, Angus</str></arr> <arr name="author-letter"><str>H</str></arr> <arr name="author2"><str>King, Emily</str></arr> <arr name="collection"><str>Catalog</str></arr> <arr name="format"><str/></arr> <arr name="id"><str> KM000050633 </str></arr> <arr name="isbn"><str>978-1-85669-408-7</str></arr> <arr name="language"><str/></arr> <arr name="physical"><str> 173 S. : ♯̂berw. Ill. </str></arr> <arr name="publishDate"><str>2006</str></arr> <arr name="publisher"><str> Laurence King Publ. </str></arr> <arr name="title"><str>c/id </str></arr> <arr name="title2"><str>visual identity and branding for the arts</str></arr> </doc> Is it a problem that the id field has \n in it? <arr name="id"><str> KM000050633 </str></arr> I explain in the next mail, how I came to this xml dataset, since this may be the root of all evil... :) How can I work with the data imported to solr? Is there something like phpmyadmin for solr? Or where can I find information? Thanks, Ludig |