Re: schema.xml question

2010-05-07 Thread Antonello Mangone
It's seems like a copyField but is a group that I want ... and in your
version is not a group, I want the possibility to search in a group of field
using "AND" or "OR"

2010/5/7 Chris Hostetter 

>
> : 
> : 
> 
> 
> 
> ...
> 
> 
> 
> group_name
>
>
>
>
> -Hoss
>
>


Re: schema.xml question

2010-05-07 Thread Chris Hostetter

: 
: 



...



group_name




-Hoss



Re: Re: schema.xml question

2010-05-07 Thread Antonello Mangone
Thank you very much for your suggestions, I'll study immediatly ...


2010/5/7 Markus Jelsma 

> I forgot, there is actually a proper wiki page on this subject:
>
> http://wiki.apache.org/solr/SolrRequestHandler
>
>
>
>
>
> -Original message-
> From: Antonello Mangone 
> Sent: Fri 07-05-2010 15:26
> To: solr-user@lucene.apache.org;
> Subject: Re: schema.xml question
>
> For the moment I don't know how to do it, but I'll follow your suggestion
> :)
> Thank you very much ...
> ps. I'm just a novel
>
> 2010/5/7 Markus Jelsma 
>
> > You could write your own requestHandler in solrconfig.xml, it'll allow
> you
> > to predefine parameters for your configured search components.
> >
> > -Original message-
> > From: Antonello Mangone 
> > Sent: Fri 07-05-2010 15:17
> > To: solr-user@lucene.apache.org;
> > Subject: schema.xml question
> >
> > Hello everyone, my question is 
> > Is it possible in schema.xml set a group of fields to use as a default
> > field
> > to query in "OR" or  in "AND" ???
> >
> > example:
> >
> > 
> >

RE: Re: schema.xml question

2010-05-07 Thread Markus Jelsma
I forgot, there is actually a proper wiki page on this subject:

http://wiki.apache.org/solr/SolrRequestHandler

 


 
-Original message-
From: Antonello Mangone 
Sent: Fri 07-05-2010 15:26
To: solr-user@lucene.apache.org; 
Subject: Re: schema.xml question

For the moment I don't know how to do it, but I'll follow your suggestion :)
Thank you very much ...
ps. I'm just a novel

2010/5/7 Markus Jelsma 

> You could write your own requestHandler in solrconfig.xml, it'll allow you
> to predefine parameters for your configured search components.
>
> -Original message-
> From: Antonello Mangone 
> Sent: Fri 07-05-2010 15:17
> To: solr-user@lucene.apache.org;
> Subject: schema.xml question
>
> Hello everyone, my question is 
> Is it possible in schema.xml set a group of fields to use as a default
> field
> to query in "OR" or  in "AND" ???
>
> example:
>
> 
>    

RE: Re: schema.xml question

2010-05-07 Thread Markus Jelsma
A requestHandler works as an URL that can have predefined parameters. By 
default you will be querying the /select/ requestHandler. It, for instance, 
predefines the default number of rows to return (10) and returns all fields of 
a document (*).

 

   explicit

 

But you can also define more complex requestHandlers. The default configuration 
adds the dismax requestHandler (/dismax/) but it's actually the same as the 
default requestHandler if you would define all those configured parameters in 
your URL. So by defining the parameters in the solrconfig.xml, you won't need 
to pass them in you query. You can of course override predefined parameters 
with the exception of parameters defined inside an invariants block.

 

Check the documentation [1] on this subject but i would suggest you study the 
shipped solrconfig.xml [2] configuration file, it offers better explanation of 
the subject.

 

[1]: http://wiki.apache.org/solr/SolrConfigXml

[2]: 
http://svn.apache.org/repos/asf/lucene/dev/trunk/solr/example/solr/conf/solrconfig.xml

 

 

Cheers,
 
-Original message-
From: Antonello Mangone 
Sent: Fri 07-05-2010 15:26
To: solr-user@lucene.apache.org; 
Subject: Re: schema.xml question

For the moment I don't know how to do it, but I'll follow your suggestion :)
Thank you very much ...
ps. I'm just a novel

2010/5/7 Markus Jelsma 

> You could write your own requestHandler in solrconfig.xml, it'll allow you
> to predefine parameters for your configured search components.
>
> -Original message-
> From: Antonello Mangone 
> Sent: Fri 07-05-2010 15:17
> To: solr-user@lucene.apache.org;
> Subject: schema.xml question
>
> Hello everyone, my question is 
> Is it possible in schema.xml set a group of fields to use as a default
> field
> to query in "OR" or  in "AND" ???
>
> example:
>
> 
>    

Re: schema.xml question

2010-05-07 Thread Antonello Mangone
For the moment I don't know how to do it, but I'll follow your suggestion :)
Thank you very much ...
ps. I'm just a novel

2010/5/7 Markus Jelsma 

> You could write your own requestHandler in solrconfig.xml, it'll allow you
> to predefine parameters for your configured search components.
>
> -Original message-
> From: Antonello Mangone 
> Sent: Fri 07-05-2010 15:17
> To: solr-user@lucene.apache.org;
> Subject: schema.xml question
>
> Hello everyone, my question is 
> Is it possible in schema.xml set a group of fields to use as a default
> field
> to query in "OR" or  in "AND" ???
>
> example:
>
> 
>

RE: schema.xml question

2010-05-07 Thread Markus Jelsma
You could write your own requestHandler in solrconfig.xml, it'll allow you to 
predefine parameters for your configured search components.
 
-Original message-
From: Antonello Mangone 
Sent: Fri 07-05-2010 15:17
To: solr-user@lucene.apache.org; 
Subject: schema.xml question

Hello everyone, my question is 
Is it possible in schema.xml set a group of fields to use as a default field
to query in "OR" or  in "AND" ???

example:


   

schema.xml question

2010-05-07 Thread Antonello Mangone
Hello everyone, my question is 
Is it possible in schema.xml set a group of fields to use as a default field
to query in "OR" or  in "AND" ???

example: