Re: defaultSearchField

2010-05-19 Thread Jan Kammer
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.

defaultSearchField  field1, field2, field3/defaultSearchField


Thanks you all

   




Re: SpellChecking

2010-05-04 Thread Jan Kammer

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
   




SpellChecking

2010-05-03 Thread Jan Kammer

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

2010-05-03 Thread Jan Kammer

Hi,

if I define one of my normal fields from schema.xml in solrconfig.xml 
for spellchecking all works fine:

lst name=spellchecker
...
str name=fieldcontent/str
...
/lst

 But i want to use spellcheck for much more fields. So I tried to 
define in schema.xml a copyfield like this:


copyField source=* dest=spell/
That didnt work, because nothing was in spell after that.

Next try was to copy each field in a line to spell:
copyField source=content dest=spell/
copyField source=name dest=spell/
copyField source=title dest=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.

str name=Total Documents Failed16444/str

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 Kammerjan.kam...@mni.fh-giessen.dewrote:

   

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

 
   




mac osx server + tomcat + solr

2010-04-21 Thread Jan Kammer

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

2010-04-21 Thread Jan Kammer

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 jan.kam...@mni.fh-giessen.de 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

2010-04-21 Thread Jan Kammer

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
Context docBase= debug=0 crossContext=true
  Environment name=solr/home type=java.lang.String
value=PATH_TO_SOLR_HOME override=false/
/Context

PATH_TO_SOLR_HOME must contains conf and data folders

On 4/21/10, Jan Kammer jan.kam...@mni.fh-giessen.de 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 jan.kam...@mni.fh-giessen.de 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

2010-04-21 Thread Jan Kammer

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: dataDir${solr.data.dir:}/dataDir

On 4/21/10, Jan Kammer jan.kam...@mni.fh-giessen.de 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
Context docBase= debug=0 crossContext=true
 Environment name=solr/home type=java.lang.String
value=PATH_TO_SOLR_HOME override=false/
/Context

PATH_TO_SOLR_HOME must contains conf and data folders

On 4/21/10, Jan Kammer jan.kam...@mni.fh-giessen.de 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 jan.kam...@mni.fh-giessen.de 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