You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Damien Fontaine <df...@rosebud.fr> on 2011/01/18 17:04:52 UTC

Search on two core and two schema

Hi,

I would like make a search on two core with differents schemas.

Sample :

Schema Core1
  - ID
  - Label
  - IDTaxon
...

Schema Core2
  - IDTaxon
  - Label
  - Hierarchy
...

Schemas are very differents, i can't group them. Have you an idea to 
realize this search ?

Thanks,

Damien


Re: Search on two core and two schema

Posted by Erick Erickson <er...@gmail.com>.
Then you probably want to consider simply flattening the data and storing
the
relevant data with a single schema. If that doesn't work for you, there is a
limited
join capability going into the trunk, see:
https://issues.apache.org/jira/browse/SOLR-2272

Best
Erick

On Wed, Jan 19, 2011 at 3:17 AM, Damien Fontaine <df...@rosebud.fr>wrote:

> Ok, but i need a relation beetween the two type of document for faceting on
> label field.
>
> Damien
>
> Le 18/01/2011 18:55, Geert-Jan Brits a écrit :
>
>  Schemas are very differents, i can't group them.
>>>>
>>> In contrast to what you're saying above, you may rethink the option of
>> combining both type of documents in a single core.
>> It's a perfectly valid approach to combine heteregenous documents in a
>> single core in Solr. (and use a specific field -say 'type'-  to
>> distinguish
>> between them when needed)
>>
>> Geert-Jan
>>
>> 2011/1/18 Jonathan Rochkind<ro...@jhu.edu>
>>
>>  Solr can't do that. Two cores are two seperate cores, you have to do two
>>> seperate queries, and get two seperate result sets.
>>>
>>> Solr is not an rdbms.
>>>
>>>
>>> On 1/18/2011 12:24 PM, Damien Fontaine wrote:
>>>
>>>  I want execute this query :
>>>>
>>>> Schema 1 :
>>>> <field name="id" type="string" indexed="true" stored="true"
>>>> required="true" />
>>>> <field name="title" type="string" indexed="true" stored="true"
>>>> required="true" />
>>>> <field name="UUID_location" type="string" indexed="true" stored="true"
>>>> required="true" />
>>>>
>>>> Schema 2 :
>>>> <field name="UUID_location" type="string" indexed="true" stored="true"
>>>> required="true" />
>>>> <field name="label" type="string" indexed="true" stored="true"
>>>> required="true" />
>>>> <field name="type" type="string" indexed="true" stored="true"
>>>> required="true" />
>>>>
>>>> Query :
>>>>
>>>>
>>>> select?facet=true&fl=title&q=title:*&facet.field=UUID_location&rows=10&qt=standard
>>>>
>>>> Result :
>>>>
>>>> <?xml version="1.0" encoding="UTF-8"?>
>>>> <response>
>>>> <lst name="responseHeader">
>>>> <int name="status">0</int>
>>>> <int name="QTime">0</int>
>>>> <lst name="params">
>>>> <str name="facet">true</str>
>>>> <str name="fl">title</str>
>>>> <str name="q">title:*</str>
>>>> <str name="facet.field">UUID_location</str>
>>>> <str name="qt">standard</str>
>>>> </lst>
>>>> </lst>
>>>> <result name="response" numFound="1889" start="0">
>>>> <doc>
>>>> <str name="title">titre 1</str>
>>>> </doc>
>>>> <doc>
>>>> <str name="title">Titre 2</str>
>>>> </doc>
>>>> </result>
>>>> <lst name="facet_counts">
>>>> <lst name="facet_queries"/>
>>>> <lst name="facet_fields">
>>>> <lst name="UUID_location">
>>>> <int name="Japan">998</int>
>>>> <int name="China">891</int>
>>>> </lst>
>>>> </lst>
>>>> <lst name="facet_dates"/><
>>>>      /lst>
>>>> </response>
>>>>
>>>> Le 18/01/2011 17:55, Stefan Matheis a écrit :
>>>>
>>>>  Okay .. and .. now .. you're trying to do what? perhaps you could give
>>>>> us
>>>>> an
>>>>> example, w/ real data .. sample queries&    - results.
>>>>> because actually i cannot imagine what you want to achieve, sorry
>>>>>
>>>>> On Tue, Jan 18, 2011 at 5:24 PM, Damien Fontaine<dfontaine@rosebud.fr
>>>>>
>>>>>> wrote:
>>>>>>
>>>>>  On my first schema, there are informations about a document like
>>>>> title,
>>>>>
>>>>>> lead, text etc and many UUID(each UUID is a taxon's ID)
>>>>>> My second schema contains my taxonomies with auto-complete and facets.
>>>>>>
>>>>>> Le 18/01/2011 17:06, Stefan Matheis a écrit :
>>>>>>
>>>>>>   Search on two cores but combine the results afterwards to present
>>>>>> them
>>>>>> in
>>>>>>
>>>>>>  one group, or what exactly are you trying to do Damien?
>>>>>>>
>>>>>>> On Tue, Jan 18, 2011 at 5:04 PM, Damien Fontaine<
>>>>>>> dfontaine@rosebud.fr
>>>>>>>
>>>>>>>  wrote:
>>>>>>>>
>>>>>>>>    Hi,
>>>>>>>
>>>>>>>  I would like make a search on two core with differents schemas.
>>>>>>>>
>>>>>>>> Sample :
>>>>>>>>
>>>>>>>> Schema Core1
>>>>>>>>   - ID
>>>>>>>>   - Label
>>>>>>>>   - IDTaxon
>>>>>>>> ...
>>>>>>>>
>>>>>>>> Schema Core2
>>>>>>>>   - IDTaxon
>>>>>>>>   - Label
>>>>>>>>   - Hierarchy
>>>>>>>> ...
>>>>>>>>
>>>>>>>> Schemas are very differents, i can't group them. Have you an idea to
>>>>>>>> realize this search ?
>>>>>>>>
>>>>>>>> Thanks,
>>>>>>>>
>>>>>>>> Damien
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>

Re: Search on two core and two schema

Posted by Damien Fontaine <df...@rosebud.fr>.
Ok, but i need a relation beetween the two type of document for faceting 
on label field.

Damien

Le 18/01/2011 18:55, Geert-Jan Brits a écrit :
>>> Schemas are very differents, i can't group them.
> In contrast to what you're saying above, you may rethink the option of
> combining both type of documents in a single core.
> It's a perfectly valid approach to combine heteregenous documents in a
> single core in Solr. (and use a specific field -say 'type'-  to distinguish
> between them when needed)
>
> Geert-Jan
>
> 2011/1/18 Jonathan Rochkind<ro...@jhu.edu>
>
>> Solr can't do that. Two cores are two seperate cores, you have to do two
>> seperate queries, and get two seperate result sets.
>>
>> Solr is not an rdbms.
>>
>>
>> On 1/18/2011 12:24 PM, Damien Fontaine wrote:
>>
>>> I want execute this query :
>>>
>>> Schema 1 :
>>> <field name="id" type="string" indexed="true" stored="true"
>>> required="true" />
>>> <field name="title" type="string" indexed="true" stored="true"
>>> required="true" />
>>> <field name="UUID_location" type="string" indexed="true" stored="true"
>>> required="true" />
>>>
>>> Schema 2 :
>>> <field name="UUID_location" type="string" indexed="true" stored="true"
>>> required="true" />
>>> <field name="label" type="string" indexed="true" stored="true"
>>> required="true" />
>>> <field name="type" type="string" indexed="true" stored="true"
>>> required="true" />
>>>
>>> Query :
>>>
>>> select?facet=true&fl=title&q=title:*&facet.field=UUID_location&rows=10&qt=standard
>>>
>>> Result :
>>>
>>> <?xml version="1.0" encoding="UTF-8"?>
>>> <response>
>>> <lst name="responseHeader">
>>> <int name="status">0</int>
>>> <int name="QTime">0</int>
>>> <lst name="params">
>>> <str name="facet">true</str>
>>> <str name="fl">title</str>
>>> <str name="q">title:*</str>
>>> <str name="facet.field">UUID_location</str>
>>> <str name="qt">standard</str>
>>> </lst>
>>> </lst>
>>> <result name="response" numFound="1889" start="0">
>>> <doc>
>>> <str name="title">titre 1</str>
>>> </doc>
>>> <doc>
>>> <str name="title">Titre 2</str>
>>> </doc>
>>> </result>
>>> <lst name="facet_counts">
>>> <lst name="facet_queries"/>
>>> <lst name="facet_fields">
>>> <lst name="UUID_location">
>>> <int name="Japan">998</int>
>>> <int name="China">891</int>
>>> </lst>
>>> </lst>
>>> <lst name="facet_dates"/><
>>>       /lst>
>>> </response>
>>>
>>> Le 18/01/2011 17:55, Stefan Matheis a écrit :
>>>
>>>> Okay .. and .. now .. you're trying to do what? perhaps you could give us
>>>> an
>>>> example, w/ real data .. sample queries&    - results.
>>>> because actually i cannot imagine what you want to achieve, sorry
>>>>
>>>> On Tue, Jan 18, 2011 at 5:24 PM, Damien Fontaine<dfontaine@rosebud.fr
>>>>> wrote:
>>>>   On my first schema, there are informations about a document like title,
>>>>> lead, text etc and many UUID(each UUID is a taxon's ID)
>>>>> My second schema contains my taxonomies with auto-complete and facets.
>>>>>
>>>>> Le 18/01/2011 17:06, Stefan Matheis a écrit :
>>>>>
>>>>>    Search on two cores but combine the results afterwards to present them
>>>>> in
>>>>>
>>>>>> one group, or what exactly are you trying to do Damien?
>>>>>>
>>>>>> On Tue, Jan 18, 2011 at 5:04 PM, Damien Fontaine<dfontaine@rosebud.fr
>>>>>>
>>>>>>> wrote:
>>>>>>>
>>>>>>    Hi,
>>>>>>
>>>>>>> I would like make a search on two core with differents schemas.
>>>>>>>
>>>>>>> Sample :
>>>>>>>
>>>>>>> Schema Core1
>>>>>>>    - ID
>>>>>>>    - Label
>>>>>>>    - IDTaxon
>>>>>>> ...
>>>>>>>
>>>>>>> Schema Core2
>>>>>>>    - IDTaxon
>>>>>>>    - Label
>>>>>>>    - Hierarchy
>>>>>>> ...
>>>>>>>
>>>>>>> Schemas are very differents, i can't group them. Have you an idea to
>>>>>>> realize this search ?
>>>>>>>
>>>>>>> Thanks,
>>>>>>>
>>>>>>> Damien
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>


Re: Search on two core and two schema

Posted by Geert-Jan Brits <gb...@gmail.com>.
>>Schemas are very differents, i can't group them.

In contrast to what you're saying above, you may rethink the option of
combining both type of documents in a single core.
It's a perfectly valid approach to combine heteregenous documents in a
single core in Solr. (and use a specific field -say 'type'-  to distinguish
between them when needed)

Geert-Jan

2011/1/18 Jonathan Rochkind <ro...@jhu.edu>

> Solr can't do that. Two cores are two seperate cores, you have to do two
> seperate queries, and get two seperate result sets.
>
> Solr is not an rdbms.
>
>
> On 1/18/2011 12:24 PM, Damien Fontaine wrote:
>
>> I want execute this query :
>>
>> Schema 1 :
>> <field name="id" type="string" indexed="true" stored="true"
>> required="true" />
>> <field name="title" type="string" indexed="true" stored="true"
>> required="true" />
>> <field name="UUID_location" type="string" indexed="true" stored="true"
>> required="true" />
>>
>> Schema 2 :
>> <field name="UUID_location" type="string" indexed="true" stored="true"
>> required="true" />
>> <field name="label" type="string" indexed="true" stored="true"
>> required="true" />
>> <field name="type" type="string" indexed="true" stored="true"
>> required="true" />
>>
>> Query :
>>
>> select?facet=true&fl=title&q=title:*&facet.field=UUID_location&rows=10&qt=standard
>>
>> Result :
>>
>> <?xml version="1.0" encoding="UTF-8"?>
>> <response>
>> <lst name="responseHeader">
>> <int name="status">0</int>
>> <int name="QTime">0</int>
>> <lst name="params">
>> <str name="facet">true</str>
>> <str name="fl">title</str>
>> <str name="q">title:*</str>
>> <str name="facet.field">UUID_location</str>
>> <str name="qt">standard</str>
>> </lst>
>> </lst>
>> <result name="response" numFound="1889" start="0">
>> <doc>
>> <str name="title">titre 1</str>
>> </doc>
>> <doc>
>> <str name="title">Titre 2</str>
>> </doc>
>> </result>
>> <lst name="facet_counts">
>> <lst name="facet_queries"/>
>> <lst name="facet_fields">
>> <lst name="UUID_location">
>> <int name="Japan">998</int>
>> <int name="China">891</int>
>> </lst>
>> </lst>
>> <lst name="facet_dates"/><
>>      /lst>
>> </response>
>>
>> Le 18/01/2011 17:55, Stefan Matheis a écrit :
>>
>>> Okay .. and .. now .. you're trying to do what? perhaps you could give us
>>> an
>>> example, w/ real data .. sample queries&   - results.
>>> because actually i cannot imagine what you want to achieve, sorry
>>>
>>> On Tue, Jan 18, 2011 at 5:24 PM, Damien Fontaine<dfontaine@rosebud.fr
>>> >wrote:
>>>
>>>  On my first schema, there are informations about a document like title,
>>>> lead, text etc and many UUID(each UUID is a taxon's ID)
>>>> My second schema contains my taxonomies with auto-complete and facets.
>>>>
>>>> Le 18/01/2011 17:06, Stefan Matheis a écrit :
>>>>
>>>>   Search on two cores but combine the results afterwards to present them
>>>> in
>>>>
>>>>> one group, or what exactly are you trying to do Damien?
>>>>>
>>>>> On Tue, Jan 18, 2011 at 5:04 PM, Damien Fontaine<dfontaine@rosebud.fr
>>>>>
>>>>>> wrote:
>>>>>>
>>>>>   Hi,
>>>>>
>>>>>> I would like make a search on two core with differents schemas.
>>>>>>
>>>>>> Sample :
>>>>>>
>>>>>> Schema Core1
>>>>>>   - ID
>>>>>>   - Label
>>>>>>   - IDTaxon
>>>>>> ...
>>>>>>
>>>>>> Schema Core2
>>>>>>   - IDTaxon
>>>>>>   - Label
>>>>>>   - Hierarchy
>>>>>> ...
>>>>>>
>>>>>> Schemas are very differents, i can't group them. Have you an idea to
>>>>>> realize this search ?
>>>>>>
>>>>>> Thanks,
>>>>>>
>>>>>> Damien
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>

Re: Search on two core and two schema

Posted by Damien Fontaine <df...@rosebud.fr>.
Le 18/01/2011 18:31, Jonathan Rochkind a écrit :
> Solr can't do that. Two cores are two seperate cores, you have to do 
> two seperate queries, and get two seperate result sets.
>
> Solr is not an rdbms.
>
Yes Solr can't do that but if i want this :

1. Core 1 call Core 2 to get the label
2. Core 1 use the Core 2 results in this own search
3. Core 1 map this own results and Core 2 results

I believe that a plugin, patch ... is necessary. How do i proceed ? I 
must program a new handler ?

> On 1/18/2011 12:24 PM, Damien Fontaine wrote:
>> I want execute this query :
>>
>> Schema 1 :
>> <field name="id" type="string" indexed="true" stored="true"
>> required="true" />
>> <field name="title" type="string" indexed="true" stored="true"
>> required="true" />
>> <field name="UUID_location" type="string" indexed="true" stored="true"
>> required="true" />
>>
>> Schema 2 :
>> <field name="UUID_location" type="string" indexed="true" stored="true"
>> required="true" />
>> <field name="label" type="string" indexed="true" stored="true"
>> required="true" />
>> <field name="type" type="string" indexed="true" stored="true"
>> required="true" />
>>
>> Query :
>> select?facet=true&fl=title&q=title:*&facet.field=UUID_location&rows=10&qt=standard 
>>
>>
>> Result :
>>
>> <?xml version="1.0" encoding="UTF-8"?>
>> <response>
>> <lst name="responseHeader">
>> <int name="status">0</int>
>> <int name="QTime">0</int>
>> <lst name="params">
>> <str name="facet">true</str>
>> <str name="fl">title</str>
>> <str name="q">title:*</str>
>> <str name="facet.field">UUID_location</str>
>> <str name="qt">standard</str>
>> </lst>
>> </lst>
>> <result name="response" numFound="1889" start="0">
>> <doc>
>> <str name="title">titre 1</str>
>> </doc>
>> <doc>
>> <str name="title">Titre 2</str>
>> </doc>
>> </result>
>> <lst name="facet_counts">
>> <lst name="facet_queries"/>
>> <lst name="facet_fields">
>> <lst name="UUID_location">
>> <int name="Japan">998</int>
>> <int name="China">891</int>
>> </lst>
>> </lst>
>> <lst name="facet_dates"/><
>>       /lst>
>> </response>
>>
>> Le 18/01/2011 17:55, Stefan Matheis a écrit :
>>> Okay .. and .. now .. you're trying to do what? perhaps you could 
>>> give us an
>>> example, w/ real data .. sample queries&   - results.
>>> because actually i cannot imagine what you want to achieve, sorry
>>>
>>> On Tue, Jan 18, 2011 at 5:24 PM, Damien 
>>> Fontaine<df...@rosebud.fr>wrote:
>>>
>>>> On my first schema, there are informations about a document like 
>>>> title,
>>>> lead, text etc and many UUID(each UUID is a taxon's ID)
>>>> My second schema contains my taxonomies with auto-complete and facets.
>>>>
>>>> Le 18/01/2011 17:06, Stefan Matheis a écrit :
>>>>
>>>>    Search on two cores but combine the results afterwards to 
>>>> present them in
>>>>> one group, or what exactly are you trying to do Damien?
>>>>>
>>>>> On Tue, Jan 18, 2011 at 5:04 PM, Damien Fontaine<dfontaine@rosebud.fr
>>>>>> wrote:
>>>>>    Hi,
>>>>>> I would like make a search on two core with differents schemas.
>>>>>>
>>>>>> Sample :
>>>>>>
>>>>>> Schema Core1
>>>>>>    - ID
>>>>>>    - Label
>>>>>>    - IDTaxon
>>>>>> ...
>>>>>>
>>>>>> Schema Core2
>>>>>>    - IDTaxon
>>>>>>    - Label
>>>>>>    - Hierarchy
>>>>>> ...
>>>>>>
>>>>>> Schemas are very differents, i can't group them. Have you an idea to
>>>>>> realize this search ?
>>>>>>
>>>>>> Thanks,
>>>>>>
>>>>>> Damien
>>>>>>
>>>>>>
>>>>>>
>>


Re: Search on two core and two schema

Posted by Jonathan Rochkind <ro...@jhu.edu>.
Solr can't do that. Two cores are two seperate cores, you have to do two 
seperate queries, and get two seperate result sets.

Solr is not an rdbms.

On 1/18/2011 12:24 PM, Damien Fontaine wrote:
> I want execute this query :
>
> Schema 1 :
> <field name="id" type="string" indexed="true" stored="true"
> required="true" />
> <field name="title" type="string" indexed="true" stored="true"
> required="true" />
> <field name="UUID_location" type="string" indexed="true" stored="true"
> required="true" />
>
> Schema 2 :
> <field name="UUID_location" type="string" indexed="true" stored="true"
> required="true" />
> <field name="label" type="string" indexed="true" stored="true"
> required="true" />
> <field name="type" type="string" indexed="true" stored="true"
> required="true" />
>
> Query :
> select?facet=true&fl=title&q=title:*&facet.field=UUID_location&rows=10&qt=standard
>
> Result :
>
> <?xml version="1.0" encoding="UTF-8"?>
> <response>
> <lst name="responseHeader">
> <int name="status">0</int>
> <int name="QTime">0</int>
> <lst name="params">
> <str name="facet">true</str>
> <str name="fl">title</str>
> <str name="q">title:*</str>
> <str name="facet.field">UUID_location</str>
> <str name="qt">standard</str>
> </lst>
> </lst>
> <result name="response" numFound="1889" start="0">
> <doc>
> <str name="title">titre 1</str>
> </doc>
> <doc>
> <str name="title">Titre 2</str>
> </doc>
> </result>
> <lst name="facet_counts">
> <lst name="facet_queries"/>
> <lst name="facet_fields">
> <lst name="UUID_location">
> <int name="Japan">998</int>
> <int name="China">891</int>
> </lst>
> </lst>
> <lst name="facet_dates"/><
>       /lst>
> </response>
>
> Le 18/01/2011 17:55, Stefan Matheis a écrit :
>> Okay .. and .. now .. you're trying to do what? perhaps you could give us an
>> example, w/ real data .. sample queries&   - results.
>> because actually i cannot imagine what you want to achieve, sorry
>>
>> On Tue, Jan 18, 2011 at 5:24 PM, Damien Fontaine<df...@rosebud.fr>wrote:
>>
>>> On my first schema, there are informations about a document like title,
>>> lead, text etc and many UUID(each UUID is a taxon's ID)
>>> My second schema contains my taxonomies with auto-complete and facets.
>>>
>>> Le 18/01/2011 17:06, Stefan Matheis a écrit :
>>>
>>>    Search on two cores but combine the results afterwards to present them in
>>>> one group, or what exactly are you trying to do Damien?
>>>>
>>>> On Tue, Jan 18, 2011 at 5:04 PM, Damien Fontaine<dfontaine@rosebud.fr
>>>>> wrote:
>>>>    Hi,
>>>>> I would like make a search on two core with differents schemas.
>>>>>
>>>>> Sample :
>>>>>
>>>>> Schema Core1
>>>>>    - ID
>>>>>    - Label
>>>>>    - IDTaxon
>>>>> ...
>>>>>
>>>>> Schema Core2
>>>>>    - IDTaxon
>>>>>    - Label
>>>>>    - Hierarchy
>>>>> ...
>>>>>
>>>>> Schemas are very differents, i can't group them. Have you an idea to
>>>>> realize this search ?
>>>>>
>>>>> Thanks,
>>>>>
>>>>> Damien
>>>>>
>>>>>
>>>>>
>

Re: Search on two core and two schema

Posted by Damien Fontaine <df...@rosebud.fr>.
I want execute this query :

Schema 1 :
<field name="id" type="string" indexed="true" stored="true" 
required="true" />
<field name="title" type="string" indexed="true" stored="true" 
required="true" />
<field name="UUID_location" type="string" indexed="true" stored="true" 
required="true" />

Schema 2 :
<field name="UUID_location" type="string" indexed="true" stored="true" 
required="true" />
<field name="label" type="string" indexed="true" stored="true" 
required="true" />
<field name="type" type="string" indexed="true" stored="true" 
required="true" />

Query :
select?facet=true&fl=title&q=title:*&facet.field=UUID_location&rows=10&qt=standard

Result :

<?xml version="1.0" encoding="UTF-8"?>
<response>
<lst name="responseHeader">
<int name="status">0</int>
<int name="QTime">0</int>
<lst name="params">
<str name="facet">true</str>
<str name="fl">title</str>
<str name="q">title:*</str>
<str name="facet.field">UUID_location</str>
<str name="qt">standard</str>
</lst>
</lst>
<result name="response" numFound="1889" start="0">
<doc>
<str name="title">titre 1</str>
</doc>
<doc>
<str name="title">Titre 2</str>
</doc>
</result>
<lst name="facet_counts">
<lst name="facet_queries"/>
<lst name="facet_fields">
<lst name="UUID_location">
<int name="Japan">998</int>
<int name="China">891</int>
</lst>
</lst>
<lst name="facet_dates"/><
     /lst>
</response>

Le 18/01/2011 17:55, Stefan Matheis a écrit :
> Okay .. and .. now .. you're trying to do what? perhaps you could give us an
> example, w/ real data .. sample queries&  - results.
> because actually i cannot imagine what you want to achieve, sorry
>
> On Tue, Jan 18, 2011 at 5:24 PM, Damien Fontaine<df...@rosebud.fr>wrote:
>
>> On my first schema, there are informations about a document like title,
>> lead, text etc and many UUID(each UUID is a taxon's ID)
>> My second schema contains my taxonomies with auto-complete and facets.
>>
>> Le 18/01/2011 17:06, Stefan Matheis a écrit :
>>
>>   Search on two cores but combine the results afterwards to present them in
>>> one group, or what exactly are you trying to do Damien?
>>>
>>> On Tue, Jan 18, 2011 at 5:04 PM, Damien Fontaine<dfontaine@rosebud.fr
>>>> wrote:
>>>   Hi,
>>>> I would like make a search on two core with differents schemas.
>>>>
>>>> Sample :
>>>>
>>>> Schema Core1
>>>>   - ID
>>>>   - Label
>>>>   - IDTaxon
>>>> ...
>>>>
>>>> Schema Core2
>>>>   - IDTaxon
>>>>   - Label
>>>>   - Hierarchy
>>>> ...
>>>>
>>>> Schemas are very differents, i can't group them. Have you an idea to
>>>> realize this search ?
>>>>
>>>> Thanks,
>>>>
>>>> Damien
>>>>
>>>>
>>>>


Re: Search on two core and two schema

Posted by Stefan Matheis <ma...@googlemail.com>.
Okay .. and .. now .. you're trying to do what? perhaps you could give us an
example, w/ real data .. sample queries & - results.
because actually i cannot imagine what you want to achieve, sorry

On Tue, Jan 18, 2011 at 5:24 PM, Damien Fontaine <df...@rosebud.fr>wrote:

> On my first schema, there are informations about a document like title,
> lead, text etc and many UUID(each UUID is a taxon's ID)
> My second schema contains my taxonomies with auto-complete and facets.
>
> Le 18/01/2011 17:06, Stefan Matheis a écrit :
>
>  Search on two cores but combine the results afterwards to present them in
>> one group, or what exactly are you trying to do Damien?
>>
>> On Tue, Jan 18, 2011 at 5:04 PM, Damien Fontaine<dfontaine@rosebud.fr
>> >wrote:
>>
>>  Hi,
>>>
>>> I would like make a search on two core with differents schemas.
>>>
>>> Sample :
>>>
>>> Schema Core1
>>>  - ID
>>>  - Label
>>>  - IDTaxon
>>> ...
>>>
>>> Schema Core2
>>>  - IDTaxon
>>>  - Label
>>>  - Hierarchy
>>> ...
>>>
>>> Schemas are very differents, i can't group them. Have you an idea to
>>> realize this search ?
>>>
>>> Thanks,
>>>
>>> Damien
>>>
>>>
>>>
>

Re: Search on two core and two schema

Posted by Damien Fontaine <df...@rosebud.fr>.
On my first schema, there are informations about a document like title, 
lead, text etc and many UUID(each UUID is a taxon's ID)
My second schema contains my taxonomies with auto-complete and facets.

Le 18/01/2011 17:06, Stefan Matheis a écrit :
> Search on two cores but combine the results afterwards to present them in
> one group, or what exactly are you trying to do Damien?
>
> On Tue, Jan 18, 2011 at 5:04 PM, Damien Fontaine<df...@rosebud.fr>wrote:
>
>> Hi,
>>
>> I would like make a search on two core with differents schemas.
>>
>> Sample :
>>
>> Schema Core1
>>   - ID
>>   - Label
>>   - IDTaxon
>> ...
>>
>> Schema Core2
>>   - IDTaxon
>>   - Label
>>   - Hierarchy
>> ...
>>
>> Schemas are very differents, i can't group them. Have you an idea to
>> realize this search ?
>>
>> Thanks,
>>
>> Damien
>>
>>


Re: Search on two core and two schema

Posted by Stefan Matheis <ma...@googlemail.com>.
Search on two cores but combine the results afterwards to present them in
one group, or what exactly are you trying to do Damien?

On Tue, Jan 18, 2011 at 5:04 PM, Damien Fontaine <df...@rosebud.fr>wrote:

> Hi,
>
> I would like make a search on two core with differents schemas.
>
> Sample :
>
> Schema Core1
>  - ID
>  - Label
>  - IDTaxon
> ...
>
> Schema Core2
>  - IDTaxon
>  - Label
>  - Hierarchy
> ...
>
> Schemas are very differents, i can't group them. Have you an idea to
> realize this search ?
>
> Thanks,
>
> Damien
>
>