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 Ninad Raut <hb...@gmail.com> on 2009/08/06 13:47:18 UTC
Importing Existing Non-SOLR Lucene Indexes into Solr
Hi,
Is there a way to import existing Lucene Indexes to SOLR?? I have a huge
lucene index which I want to import into SOLR server.
Regards,
Ninad Raut.
Re: Importing Existing Non-SOLR Lucene Indexes into Solr
Posted by Avlesh Singh <av...@gmail.com>.
>
> if I know my fields and there are not many in the lucene index I should not
> face any problen creating a schema or are there any pitfalls which I should
> be aware off.
Nothing specific. The creation of schema should be very straightforward.
Just make sure you use the right field types.
Cheers
Avlesh
On Thu, Aug 6, 2009 at 5:39 PM, Ninad Raut <hb...@gmail.com>wrote:
> But getting the schema right would be the challenge.
> if I know my fields and there are not many in the lucene index I should not
> face any problen creating a schema or are there any pitfalls which I should
> be aware off.
> Thanks for such quick replies guys.
>
>
> 2009/8/6 Noble Paul നോബിള് नोब्ळ् <no...@corp.aol.com>
>
> > yeah the big part was missed . You need to setup a schema.xml matching
> > the field names and types and you would need a solrconfig.xml . But
> > getting the schema right would be the challenge.
> >
> > On Thu, Aug 6, 2009 at 5:23 PM, Mark Miller<ma...@gmail.com>
> wrote:
> > > Your kidding right :)
> > >
> > > Noble Paul നോബിള് नोब्ळ् wrote:
> > >>
> > >> just copy the whole index into <data_dir>/index and start Solr. That
> > >> should just fine
> > >>
> > >> On Thu, Aug 6, 2009 at 5:17 PM, Ninad Raut<hbase.user.ninad@gmail.com
> >
> > >> wrote:
> > >>
> > >>>
> > >>> Hi,
> > >>> Is there a way to import existing Lucene Indexes to SOLR?? I have a
> > huge
> > >>> lucene index which I want to import into SOLR server.
> > >>> Regards,
> > >>> Ninad Raut.
> > >>>
> > >>>
> > >>
> > >>
> > >>
> > >>
> > >
> > >
> > > --
> > > - Mark
> > >
> > > http://www.lucidimagination.com
> > >
> > >
> > >
> > >
> >
> >
> >
> > --
> > -----------------------------------------------------
> > Noble Paul | Principal Engineer| AOL | http://aol.com
> >
>
Re: Importing Existing Non-SOLR Lucene Indexes into Solr
Posted by Ninad Raut <hb...@gmail.com>.
But getting the schema right would be the challenge.
if I know my fields and there are not many in the lucene index I should not
face any problen creating a schema or are there any pitfalls which I should
be aware off.
Thanks for such quick replies guys.
2009/8/6 Noble Paul നോബിള് नोब्ळ् <no...@corp.aol.com>
> yeah the big part was missed . You need to setup a schema.xml matching
> the field names and types and you would need a solrconfig.xml . But
> getting the schema right would be the challenge.
>
> On Thu, Aug 6, 2009 at 5:23 PM, Mark Miller<ma...@gmail.com> wrote:
> > Your kidding right :)
> >
> > Noble Paul നോബിള് नोब्ळ् wrote:
> >>
> >> just copy the whole index into <data_dir>/index and start Solr. That
> >> should just fine
> >>
> >> On Thu, Aug 6, 2009 at 5:17 PM, Ninad Raut<hb...@gmail.com>
> >> wrote:
> >>
> >>>
> >>> Hi,
> >>> Is there a way to import existing Lucene Indexes to SOLR?? I have a
> huge
> >>> lucene index which I want to import into SOLR server.
> >>> Regards,
> >>> Ninad Raut.
> >>>
> >>>
> >>
> >>
> >>
> >>
> >
> >
> > --
> > - Mark
> >
> > http://www.lucidimagination.com
> >
> >
> >
> >
>
>
>
> --
> -----------------------------------------------------
> Noble Paul | Principal Engineer| AOL | http://aol.com
>
Re: Importing Existing Non-SOLR Lucene Indexes into Solr
Posted by Noble Paul നോബിള് नोब्ळ् <no...@corp.aol.com>.
yeah the big part was missed . You need to setup a schema.xml matching
the field names and types and you would need a solrconfig.xml . But
getting the schema right would be the challenge.
On Thu, Aug 6, 2009 at 5:23 PM, Mark Miller<ma...@gmail.com> wrote:
> Your kidding right :)
>
> Noble Paul നോബിള് नोब्ळ् wrote:
>>
>> just copy the whole index into <data_dir>/index and start Solr. That
>> should just fine
>>
>> On Thu, Aug 6, 2009 at 5:17 PM, Ninad Raut<hb...@gmail.com>
>> wrote:
>>
>>>
>>> Hi,
>>> Is there a way to import existing Lucene Indexes to SOLR?? I have a huge
>>> lucene index which I want to import into SOLR server.
>>> Regards,
>>> Ninad Raut.
>>>
>>>
>>
>>
>>
>>
>
>
> --
> - Mark
>
> http://www.lucidimagination.com
>
>
>
>
--
-----------------------------------------------------
Noble Paul | Principal Engineer| AOL | http://aol.com
Re: Importing Existing Non-SOLR Lucene Indexes into Solr
Posted by Avlesh Singh <av...@gmail.com>.
I am also interested in knowing! Does it work?
Cheers
Avlesh
On Thu, Aug 6, 2009 at 5:23 PM, Mark Miller <ma...@gmail.com> wrote:
> Your kidding right :)
>
> Noble Paul നോബിള് नोब्ळ् wrote:
>
>> just copy the whole index into <data_dir>/index and start Solr. That
>> should just fine
>>
>> On Thu, Aug 6, 2009 at 5:17 PM, Ninad Raut<hb...@gmail.com>
>> wrote:
>>
>>
>>> Hi,
>>> Is there a way to import existing Lucene Indexes to SOLR?? I have a huge
>>> lucene index which I want to import into SOLR server.
>>> Regards,
>>> Ninad Raut.
>>>
>>>
>>>
>>
>>
>>
>>
>>
>
>
> --
> - Mark
>
> http://www.lucidimagination.com
>
>
>
>
Re: Importing Existing Non-SOLR Lucene Indexes into Solr
Posted by Mark Miller <ma...@gmail.com>.
Your kidding right :)
Noble Paul നോബിള് नोब्ळ् wrote:
> just copy the whole index into <data_dir>/index and start Solr. That
> should just fine
>
> On Thu, Aug 6, 2009 at 5:17 PM, Ninad Raut<hb...@gmail.com> wrote:
>
>> Hi,
>> Is there a way to import existing Lucene Indexes to SOLR?? I have a huge
>> lucene index which I want to import into SOLR server.
>> Regards,
>> Ninad Raut.
>>
>>
>
>
>
>
--
- Mark
http://www.lucidimagination.com
Re: Importing Existing Non-SOLR Lucene Indexes into Solr
Posted by Avlesh Singh <av...@gmail.com>.
>
> what about the schema and querying?? there should be some changes to the
> solr schema I think. Correct me if I am wrong.
>
Of course! You have to create your own schema inside the schema.xml and
adjust values inside solrconfig.xml at the bare minimum to get started.
Cheers
Avlesh
On Thu, Aug 6, 2009 at 5:24 PM, Ninad Raut <hb...@gmail.com>wrote:
> what about the schema and querying?? there should be some changes to the
> solr schema I think. Correct me if I am wrong.
>
> 2009/8/6 Noble Paul നോബിള് नोब्ळ् <no...@corp.aol.com>
>
> > just copy the whole index into <data_dir>/index and start Solr. That
> > should just fine
> >
> > On Thu, Aug 6, 2009 at 5:17 PM, Ninad Raut<hb...@gmail.com>
> > wrote:
> > > Hi,
> > > Is there a way to import existing Lucene Indexes to SOLR?? I have a
> huge
> > > lucene index which I want to import into SOLR server.
> > > Regards,
> > > Ninad Raut.
> > >
> >
> >
> >
> > --
> > -----------------------------------------------------
> > Noble Paul | Principal Engineer| AOL | http://aol.com
> >
>
Re: Importing Existing Non-SOLR Lucene Indexes into Solr
Posted by Ninad Raut <hb...@gmail.com>.
what about the schema and querying?? there should be some changes to the
solr schema I think. Correct me if I am wrong.
2009/8/6 Noble Paul നോബിള് नोब्ळ् <no...@corp.aol.com>
> just copy the whole index into <data_dir>/index and start Solr. That
> should just fine
>
> On Thu, Aug 6, 2009 at 5:17 PM, Ninad Raut<hb...@gmail.com>
> wrote:
> > Hi,
> > Is there a way to import existing Lucene Indexes to SOLR?? I have a huge
> > lucene index which I want to import into SOLR server.
> > Regards,
> > Ninad Raut.
> >
>
>
>
> --
> -----------------------------------------------------
> Noble Paul | Principal Engineer| AOL | http://aol.com
>
Re: Importing Existing Non-SOLR Lucene Indexes into Solr
Posted by Noble Paul നോബിള് नोब्ळ् <no...@corp.aol.com>.
just copy the whole index into <data_dir>/index and start Solr. That
should just fine
On Thu, Aug 6, 2009 at 5:17 PM, Ninad Raut<hb...@gmail.com> wrote:
> Hi,
> Is there a way to import existing Lucene Indexes to SOLR?? I have a huge
> lucene index which I want to import into SOLR server.
> Regards,
> Ninad Raut.
>
--
-----------------------------------------------------
Noble Paul | Principal Engineer| AOL | http://aol.com