dismax + wildcard
Hi there, what is the best way to search all fields AND use wildcards? Somewhere I read that there are problems with this combination... (dismax + wildcard) Thanks, Jan smime.p7s Description: S/MIME Cryptographic Signature
mac osx server + tomcat + solr
Hi there, i got a problem with the combination solr + tomcat under mac osx server (snow leopard). Versions: tomcat 6.0 and newest solr. Solr works fine with jetty. But with the same solr i get the error "HTTP Status 404 - missing core name in path". I see the first site, but when i click on "Solr Admin", the described error appears. I asked google, but didn't find the right answer to solve my problem. thanks in advance. Greetz, Jan
Re: mac osx server + tomcat + solr
hi, thanks for your answer. I defined the path in an xml-file in Tomcat/conf/Catalina/localhost/ I read that this must be the right place. Could there be anywhere an other mistake? greetz, Jan Abdelhamid ABID schrieb: You are missing the "solr/home" context paramater , which points to the folder (solr) holding "data" and "conf" On 4/21/10, Jan Kammer wrote: Hi there, i got a problem with the combination solr + tomcat under mac osx server (snow leopard). Versions: tomcat 6.0 and newest solr. Solr works fine with jetty. But with the same solr i get the error "HTTP Status 404 - missing core name in path". I see the first site, but when i click on "Solr Admin", the described error appears. I asked google, but didn't find the right answer to solve my problem. thanks in advance. Greetz, Jan
Re: mac osx server + tomcat + solr
Exactly that i got in the file but it doesn't work :-( Abdelhamid ABID schrieb: The path paramater defines your context path, "/solr" for example, what you are missing, I think, is the environment variable 'solr/home' which points to solr home (again) and not the solr web-app. solr/home may be set in your xml-file like this PATH_TO_SOLR_HOME must contains "conf" and "data" folders On 4/21/10, Jan Kammer wrote: hi, thanks for your answer. I defined the path in an xml-file in Tomcat/conf/Catalina/localhost/ I read that this must be the right place. Could there be anywhere an other mistake? greetz, Jan Abdelhamid ABID schrieb: You are missing the "solr/home" context paramater , which points to the folder (solr) holding "data" and "conf" On 4/21/10, Jan Kammer wrote: Hi there, i got a problem with the combination solr + tomcat under mac osx server (snow leopard). Versions: tomcat 6.0 and newest solr. Solr works fine with jetty. But with the same solr i get the error "HTTP Status 404 - missing core name in path". I see the first site, but when i click on "Solr Admin", the described error appears. I asked google, but didn't find the right answer to solve my problem. thanks in advance. Greetz, Jan
Re: mac osx server + tomcat + solr
Is also correct. Abdelhamid ABID schrieb: Well, check your solr config file if the folder "Data" is correctly defined, you may set it like this: ${solr.data.dir:} On 4/21/10, Jan Kammer wrote: Exactly that i got in the file but it doesn't work :-( Abdelhamid ABID schrieb: The path paramater defines your context path, "/solr" for example, what you are missing, I think, is the environment variable 'solr/home' which points to solr home (again) and not the solr web-app. solr/home may be set in your xml-file like this PATH_TO_SOLR_HOME must contains "conf" and "data" folders On 4/21/10, Jan Kammer wrote: hi, thanks for your answer. I defined the path in an xml-file in Tomcat/conf/Catalina/localhost/ I read that this must be the right place. Could there be anywhere an other mistake? greetz, Jan Abdelhamid ABID schrieb: You are missing the "solr/home" context paramater , which points to the folder (solr) holding "data" and "conf" On 4/21/10, Jan Kammer wrote: Hi there, i got a problem with the combination solr + tomcat under mac osx server (snow leopard). Versions: tomcat 6.0 and newest solr. Solr works fine with jetty. But with the same solr i get the error "HTTP Status 404 - missing core name in path". I see the first site, but when i click on "Solr Admin", the described error appears. I asked google, but didn't find the right answer to solve my problem. thanks in advance. Greetz, Jan
SpellChecking
Hi there, I want to enable spellchecking, but i got many fields. I tried around with copyfield to copy all with "*" in one field, but that didnt work. Next try was to copy some fields specified each by name in one field named "spell", but that worked only for 2 or 3 fields, but not for 10 or more... My question is, what the best practice is to enable spellchecking on many fields. thanks. greetz, Jan
Re: SpellChecking
Hi, if I define one of my normal fields from schema.xml in solrconfig.xml for spellchecking all works fine: ... That didnt work, because nothing was in "spell" after that. Next try was to copy each field in a line to "spell": ... This does work up to 3 documents, if i define more, the count for failed documents in dataimporthandler gets higher and higher the more i copy into "spell". 16444 So my question is, if this is the right way to use the spellchecker with many fields, or is there an other "better" way... thanks. greetz, Jan Am 03.05.2010 16:08, schrieb Erick Erickson: It would help a lot to see your actual config file, and if you provided a bit more detail about what failure looks like Best Erick On Mon, May 3, 2010 at 9:43 AM, Jan Kammerwrote: Hi there, I want to enable spellchecking, but i got many fields. I tried around with copyfield to copy all with "*" in one field, but that didnt work. Next try was to copy some fields specified each by name in one field named "spell", but that worked only for 2 or 3 fields, but not for 10 or more... My question is, what the best practice is to enable spellchecking on many fields. thanks. greetz, Jan
Re: SpellChecking
Hi, i build the index with ...&spellcheck.build=true It worked fine with a normal field. There must something wrong with copyfield, or why does dataimporthandler add/update no more documents? Can somebody paste the code for copyfield with many fields? Greetz, Jan Am 03.05.2010 16:36, schrieb Villemos, Gert: We are using copy fields for 40+ fields to do spelling, and it works fine. Are you sure that you actually build the spell index before you try to do spelling? You need to either configure SOLr to build spell index on commit, or manually issue a spell index build request. Regards, Gert. -Original Message- From: Jan Kammer [mailto:jan.kam...@mni.fh-giessen.de] Sent: Montag, 3. Mai 2010 16:26 To: solr-user@lucene.apache.org Subject: Re: SpellChecking Hi, if I define one of my normal fields from schema.xml in solrconfig.xml for spellchecking all works fine: ... That didnt work, because nothing was in "spell" after that. Next try was to copy each field in a line to "spell": ... This does work up to 3 documents, if i define more, the count for failed documents in dataimporthandler gets higher and higher the more i copy into "spell". 16444 So my question is, if this is the right way to use the spellchecker with many fields, or is there an other "better" way... thanks. greetz, Jan Am 03.05.2010 16:08, schrieb Erick Erickson: It would help a lot to see your actual config file, and if you provided a bit more detail about what failure looks like Best Erick On Mon, May 3, 2010 at 9:43 AM, Jan Kammerwrote: Hi there, I want to enable spellchecking, but i got many fields. I tried around with copyfield to copy all with "*" in one field, but that didnt work. Next try was to copy some fields specified each by name in one field named "spell", but that worked only for 2 or 3 fields, but not for 10 or more... My question is, what the best practice is to enable spellchecking on many fields. thanks. greetz, Jan Please help Logica to respect the environment by not printing this email / Pour contribuer comme Logica au respect de l'environnement, merci de ne pas imprimer ce mail / Bitte drucken Sie diese Nachricht nicht aus und helfen Sie so Logica dabei, die Umwelt zu schützen. / Por favor ajude a Logica a respeitar o ambiente nao imprimindo este correio electronico. This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.
Re: SpellChecking
Hi, thanks, exactly that i forgot. Now it works fine. :-) Am 03.05.2010 16:50, schrieb Michael Kuhlmann: Am 03.05.2010 16:43, schrieb Jan Kammer: Hi, It worked fine with a normal field. There must something wrong with copyfield, or why does dataimporthandler add/update no more documents? Did you define your destination field as multivalue? -Michael
Re: defaultSearchField
There is something called dismax-requesthandler. I think this is what you are looking for. greetz, Jan Am 19.05.2010 15:47, schrieb Antonello Mangone: Hi to everyone, I'd like to know if it's possible to use the * defaultSearchField* on more fields ??? i.e. field1, field2, field3 Thanks you all