lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lance Norskog <goks...@gmail.com>
Subject Re: Copy lucene index into Solr
Date Wed, 25 Jul 2012 03:10:25 GMT
It will be easier to understand these if you make an index in Solr and
examine it with the Luke program. Build Solr,
cd solr/example
java -jar start.jar
in another window
cd solr/exampledocs
sh post.sh *.xml

Now use Luke on the index in solr/example/solr/collection1/data/index

You will see what fields are made by indexing.

In general, very few people move binary indexes from Lucene to Solr or
between Solr versions. Lucene is not a database. There are people who
use it as their system of record, but that is not wise. You should be
able to reindex everything from your original data.

On Tue, Jul 24, 2012 at 6:11 PM, spredd1208 <scott.m.preddy@gmail.com> wrote:
> So on the lucene side I am only using:
>
> http://lucene.apache.org/core/3_6_0/api/core/org/apache/lucene/document/Field.html#Field(java.lang.String,
> java.lang.String, org.apache.lucene.document.Field.Store,
> org.apache.lucene.document.Field.Index)
>
> and
> http://lucene.apache.org/core/3_6_0/api/core/org/apache/lucene/document/NumericField.html#NumericField(java.lang.String,
> org.apache.lucene.document.Field.Store, boolean)
>
> to index my fields.
>
> How does this line up with solr?
>
> What do I use for my field types in my schema and how will this affect my
> use and/or limits of using solr's query and index configurations?
>
>
>
> --
> View this message in context: http://lucene.472066.n3.nabble.com/Copy-lucene-index-into-Solr-tp3997078p3997105.html
> Sent from the Solr - User mailing list archive at Nabble.com.



-- 
Lance Norskog
goksron@gmail.com

Mime
View raw message