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 Shashi Roushan <sh...@gmail.com> on 2017/09/19 19:04:11 UTC
Solrcloud configuration
Hi All,
I need your help to configure solrcloud with shards.
I have created collection and shards using solr6 and Zookeeper. Its working
fine.
My problems are:
Where I put schema and dbdataconfig files?
How I can use DIH to import data from SQL server To solr?
In older version I was using schema and DIH to import data from SQL server.
Please help.
Regards
Shashi Roushan
Re: Solrcloud configuration
Posted by John Bickerstaff <jo...@johnbickerstaff.com>.
Addendum: It's not sql server, but I imagine the steps will be similar if
not identical except for the details of the JDBC driver you need.
On Tue, Sep 19, 2017 at 4:11 PM, John Bickerstaff <jo...@johnbickerstaff.com>
wrote:
> This may also be of some assistance:
>
> https://gist.github.com/maxivak/3e3ee1fca32f3949f052
>
> I haven't tested, just found it.
>
> On Tue, Sep 19, 2017 at 4:10 PM, John Bickerstaff <
> john@johnbickerstaff.com> wrote:
>
>> This may be of some assistance...
>>
>> http://lucene.apache.org/solr/guide/6_6/
>>
>> There is a section discussing sharding and another section that includes
>> the schema.
>>
>> On Tue, Sep 19, 2017 at 1:42 PM, Shashi Roushan <sh...@gmail.com>
>> wrote:
>>
>>> Hello David
>>>
>>> No, I didn't read any documentation on the schema and DIH.
>>>
>>> Actually we are already using Solr 4 version. I am now upgrading in
>>> solrcloud with shards. I have done lots of google, but not getting
>>> relevant
>>> information DIH and schema with Solr shards. I am getting result with
>>> older
>>> version of Solr.
>>>
>>>
>>> On Sep 20, 2017 12:58 AM, "David Hastings" <hastings.recursive@gmail.com
>>> >
>>> wrote:
>>>
>>> Did you read the documentation on the schema and the DIH?
>>>
>>> On Tue, Sep 19, 2017 at 3:04 PM, Shashi Roushan <shashiroushan@gmail.com
>>> >
>>> wrote:
>>>
>>> > Hi All,
>>> >
>>> > I need your help to configure solrcloud with shards.
>>> > I have created collection and shards using solr6 and Zookeeper. Its
>>> working
>>> > fine.
>>> > My problems are:
>>> > Where I put schema and dbdataconfig files?
>>> > How I can use DIH to import data from SQL server To solr?
>>> > In older version I was using schema and DIH to import data from SQL
>>> > server.
>>> >
>>> > Please help.
>>> >
>>> > Regards
>>> > Shashi Roushan
>>> >
>>>
>>
>>
>
Re: Solrcloud configuration
Posted by Shashi Roushan <sh...@gmail.com>.
Hello All,
Thanks to reply. After long time , I found the solution of configuration
uploading in sold cloud from the following link:
http://mtitek.com/tutorials/solr/collections.php
Regards,
Shashi Roushan
On Sep 20, 2017 3:42 AM, "John Bickerstaff" <jo...@johnbickerstaff.com>
wrote:
This may also be of some assistance:
https://gist.github.com/maxivak/3e3ee1fca32f3949f052
I haven't tested, just found it.
On Tue, Sep 19, 2017 at 4:10 PM, John Bickerstaff <jo...@johnbickerstaff.com>
wrote:
> This may be of some assistance...
>
> http://lucene.apache.org/solr/guide/6_6/
>
> There is a section discussing sharding and another section that includes
> the schema.
>
> On Tue, Sep 19, 2017 at 1:42 PM, Shashi Roushan <sh...@gmail.com>
> wrote:
>
>> Hello David
>>
>> No, I didn't read any documentation on the schema and DIH.
>>
>> Actually we are already using Solr 4 version. I am now upgrading in
>> solrcloud with shards. I have done lots of google, but not getting
>> relevant
>> information DIH and schema with Solr shards. I am getting result with
>> older
>> version of Solr.
>>
>>
>> On Sep 20, 2017 12:58 AM, "David Hastings" <ha...@gmail.com>
>> wrote:
>>
>> Did you read the documentation on the schema and the DIH?
>>
>> On Tue, Sep 19, 2017 at 3:04 PM, Shashi Roushan <sh...@gmail.com>
>> wrote:
>>
>> > Hi All,
>> >
>> > I need your help to configure solrcloud with shards.
>> > I have created collection and shards using solr6 and Zookeeper. Its
>> working
>> > fine.
>> > My problems are:
>> > Where I put schema and dbdataconfig files?
>> > How I can use DIH to import data from SQL server To solr?
>> > In older version I was using schema and DIH to import data from SQL
>> > server.
>> >
>> > Please help.
>> >
>> > Regards
>> > Shashi Roushan
>> >
>>
>
>
Re: Solrcloud configuration
Posted by John Bickerstaff <jo...@johnbickerstaff.com>.
This may also be of some assistance:
https://gist.github.com/maxivak/3e3ee1fca32f3949f052
I haven't tested, just found it.
On Tue, Sep 19, 2017 at 4:10 PM, John Bickerstaff <jo...@johnbickerstaff.com>
wrote:
> This may be of some assistance...
>
> http://lucene.apache.org/solr/guide/6_6/
>
> There is a section discussing sharding and another section that includes
> the schema.
>
> On Tue, Sep 19, 2017 at 1:42 PM, Shashi Roushan <sh...@gmail.com>
> wrote:
>
>> Hello David
>>
>> No, I didn't read any documentation on the schema and DIH.
>>
>> Actually we are already using Solr 4 version. I am now upgrading in
>> solrcloud with shards. I have done lots of google, but not getting
>> relevant
>> information DIH and schema with Solr shards. I am getting result with
>> older
>> version of Solr.
>>
>>
>> On Sep 20, 2017 12:58 AM, "David Hastings" <ha...@gmail.com>
>> wrote:
>>
>> Did you read the documentation on the schema and the DIH?
>>
>> On Tue, Sep 19, 2017 at 3:04 PM, Shashi Roushan <sh...@gmail.com>
>> wrote:
>>
>> > Hi All,
>> >
>> > I need your help to configure solrcloud with shards.
>> > I have created collection and shards using solr6 and Zookeeper. Its
>> working
>> > fine.
>> > My problems are:
>> > Where I put schema and dbdataconfig files?
>> > How I can use DIH to import data from SQL server To solr?
>> > In older version I was using schema and DIH to import data from SQL
>> > server.
>> >
>> > Please help.
>> >
>> > Regards
>> > Shashi Roushan
>> >
>>
>
>
Re: Solrcloud configuration
Posted by John Bickerstaff <jo...@johnbickerstaff.com>.
This may be of some assistance...
http://lucene.apache.org/solr/guide/6_6/
There is a section discussing sharding and another section that includes
the schema.
On Tue, Sep 19, 2017 at 1:42 PM, Shashi Roushan <sh...@gmail.com>
wrote:
> Hello David
>
> No, I didn't read any documentation on the schema and DIH.
>
> Actually we are already using Solr 4 version. I am now upgrading in
> solrcloud with shards. I have done lots of google, but not getting relevant
> information DIH and schema with Solr shards. I am getting result with older
> version of Solr.
>
>
> On Sep 20, 2017 12:58 AM, "David Hastings" <ha...@gmail.com>
> wrote:
>
> Did you read the documentation on the schema and the DIH?
>
> On Tue, Sep 19, 2017 at 3:04 PM, Shashi Roushan <sh...@gmail.com>
> wrote:
>
> > Hi All,
> >
> > I need your help to configure solrcloud with shards.
> > I have created collection and shards using solr6 and Zookeeper. Its
> working
> > fine.
> > My problems are:
> > Where I put schema and dbdataconfig files?
> > How I can use DIH to import data from SQL server To solr?
> > In older version I was using schema and DIH to import data from SQL
> > server.
> >
> > Please help.
> >
> > Regards
> > Shashi Roushan
> >
>
Re: Solrcloud configuration
Posted by Shashi Roushan <sh...@gmail.com>.
Hello David
No, I didn't read any documentation on the schema and DIH.
Actually we are already using Solr 4 version. I am now upgrading in
solrcloud with shards. I have done lots of google, but not getting relevant
information DIH and schema with Solr shards. I am getting result with older
version of Solr.
On Sep 20, 2017 12:58 AM, "David Hastings" <ha...@gmail.com>
wrote:
Did you read the documentation on the schema and the DIH?
On Tue, Sep 19, 2017 at 3:04 PM, Shashi Roushan <sh...@gmail.com>
wrote:
> Hi All,
>
> I need your help to configure solrcloud with shards.
> I have created collection and shards using solr6 and Zookeeper. Its
working
> fine.
> My problems are:
> Where I put schema and dbdataconfig files?
> How I can use DIH to import data from SQL server To solr?
> In older version I was using schema and DIH to import data from SQL
> server.
>
> Please help.
>
> Regards
> Shashi Roushan
>
Re: Solrcloud configuration
Posted by David Hastings <ha...@gmail.com>.
Did you read the documentation on the schema and the DIH?
On Tue, Sep 19, 2017 at 3:04 PM, Shashi Roushan <sh...@gmail.com>
wrote:
> Hi All,
>
> I need your help to configure solrcloud with shards.
> I have created collection and shards using solr6 and Zookeeper. Its working
> fine.
> My problems are:
> Where I put schema and dbdataconfig files?
> How I can use DIH to import data from SQL server To solr?
> In older version I was using schema and DIH to import data from SQL
> server.
>
> Please help.
>
> Regards
> Shashi Roushan
>