Re: Entity with multiple datasources

2012-02-16 Thread Radu Toev
st probably) not globally, there will > be collisions. To aviod this, I would prepend a record_id with some static > value, like: concat("t1", CONVERT(id, CHAR(8))). > > Dmitry > > On Thu, Feb 16, 2012 at 4:47 PM, Radu Toev wrote: > > > I'm not sure I fo

Re: Entity with multiple datasources

2012-02-16 Thread Radu Toev
by the same data-config: > > > > > > > > > > > > > > > > > It's the 'rootEntity="false" that makes the child entity a document. > -- > > Dmitry > > On Thu, Feb 16, 2012 at 2:37 PM, Radu Toev

Re: Entity with multiple datasources

2012-02-16 Thread Radu Toev
the unique field in > the db? > > On Thu, Feb 16, 2012 at 2:13 PM, Radu Toev wrote: > > > I tried running with just one datasource(the one that has 6k entries) and > > it indexes them ok. > > The same, if I do sepparately the 1k database. It indexes ok. > >

Re: Entity with multiple datasources

2012-02-16 Thread Radu Toev
om the smaller dataset. That's why you have 2000. If you just have a > handler pointed to the bigger data set (6k), do you manage to get all 6k db > entries into solr? > > On Thu, Feb 16, 2012 at 1:46 PM, Radu Toev wrote: > > > 1. Nothing in the logs > > 2. No. &g

Re: Entity with multiple datasources

2012-02-16 Thread Radu Toev
1. Nothing in the logs 2. No. On Thu, Feb 16, 2012 at 12:44 PM, Dmitry Kan wrote: > 1. Do you see any errors / exceptions in the logs? > 2. Could you have duplicates? > > On Thu, Feb 16, 2012 at 10:15 AM, Radu Toev wrote: > > > Hello, > > > > I created a data

Entity with multiple datasources

2012-02-16 Thread Radu Toev
Hello, I created a data-config.xml file where I define a datasource and an entity with 12 fields. In my use case I have 2 databases with the same schema, so I want to combine in one index the 2 databases. I defined a second dataSource tag and duplicateed the entity with its field(changed the name

Solr multiple cores - multiple databases approach

2012-02-15 Thread Radu Toev
Hello, I have a use where I'm trying to integrate Solr: - 2 databases with the same schema - I want to index multiple enttities from those databases My question is what is the best way of approaching this topic: - should I create a core for each database and inside that core create a document w

Re: Fields not indexed?

2012-02-08 Thread Radu Toev
I just realized that as I pushed the send button :P Thanks, I'll have a look. On Wed, Feb 8, 2012 at 2:58 PM, Dmitry Kan wrote: > well, you should add these fields in schema.xml, otherwise solr won't know > them. > > On Wed, Feb 8, 2012 at 2:48 PM, Radu Toev wrote: >

Re: Fields not indexed?

2012-02-08 Thread Radu Toev
The schema.xml is the default file that comes with Solr 3.5, didn't change anything there. On Wed, Feb 8, 2012 at 2:45 PM, Dmitry Kan wrote: > How does your schema for the fields look like? > > On Wed, Feb 8, 2012 at 2:41 PM, Radu Toev wrote: > > > Hi, > > >