Hi,

Those were removed because i copied it from our own Nutch dist. They aren't 
being used anyway and document related variables or literal have no place in 
indexing backends. They aren't available either in the ES backend we added. 
Also, there is no need to modify SolrClean because it simply doesn't exist 
anymore, they same goes for SolrIndexer. I did, of course, modify the actual 
indexing implementations to take SolrServer instead of HttpSolrServer. 

What Nutch are you on? Doesn't sound like 1.7 to me. It uses pluggable indexing 
backends so some stuff has been abstracted away.

Cheers,
 
-----Original message-----
> From:Tuğcem Oral <[email protected]>
> Sent: Wednesday 10th July 2013 10:58
> To: [email protected]
> Subject: Re: Indexing from nutch 1.6 to solr 4.3.1 cloud
> 
> Markus,
> 
> I don't understand why you removed the field definitions  from
> SolrConstants below:
> 
> 
> -  public static final String ID_FIELD = "id";
> -  public static final String URL_FIELD = "url";
> -  public static final String BOOST_FIELD = "boost";
> -  public static final String TIMESTAMP_FIELD = "tstamp";
> -  public static final String DIGEST_FIELD = "digest";
> 
> 
> 
> Also, shouldn't you need to update SolrClean and SolrIndexer classes?
> 
> 
> 
> 
> On Tue, Jul 9, 2013 at 9:32 PM, <[email protected]> wrote:
> 
> > It is working for both 1.X and 2.X versions. Partitioning or distribution
> > of docs among solrcloud nodes is done by solrcloud not by nutch.
> >
> >
> > Thanks.
> > Alex.
> >
> >
> >
> >
> >
> >
> >
> >
> > -----Original Message-----
> > From: Tuğcem Oral <[email protected]>
> > To: user <[email protected]>
> > Sent: Tue, Jul 9, 2013 12:31 am
> > Subject: Re: Indexing from nutch 1.6 to solr 4.3.1 cloud
> >
> >
> > So your org.apache.nutch.indexer.solr.SolrIndexer utility is not working
> > from nutch 1.6 I suppose, that might be used from nutch 2.1. Because in 1.6
> > you cannot do such a thing, as multiple solr instances (so solrcloud) and
> > partitioning is not supported on that version.
> >
> >
> > On Tue, Jul 9, 2013 at 12:55 AM, <[email protected]> wrote:
> >
> > > I give only one url to solrindex command and solrcloud takes care of
> > >  partitioning. I do not use solrj and actually did not understand
> > Markus's
> > > comments. I use solr.4.2.0 with cloud feature.
> > >
> > > Thanks.
> > > Alex.
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > -----Original Message-----
> > > From: Tuğcem Oral <[email protected]>
> > > To: user <[email protected]>
> > > Sent: Mon, Jul 8, 2013 1:26 pm
> > > Subject: Indexing from nutch 1.6 to solr 4.3.1 cloud
> > >
> > >
> > > @alex, i dont understand how could you give multiple solr urls while
> > > indexing from 1.6. Because solrindex handles given solr url with a single
> > > SolrServer instance, dont use List<SolrServer>, and also as @Marcus said,
> > > solrj doesnt support partitioning. The phrase you used "indexing using
> > with
> > > nutch 1.6 and 2.1" seems a bit confusing for me, which version of solrj
> > and
> > > solr (cloud) you are using is important i suppose.
> > >
> > > @erol, I can upload the patch tomorrow and notify you about it,
> > >
> > > Best,
> > >
> > > Tugcem
> > >
> > > On Monday, July 8, 2013, eakarsu wrote:
> > >
> > > > Tugcem,
> > > >
> > > > Can you please send me patch also?
> > > > I would like to test it
> > > >
> > > > Thanks
> > > >
> > > > Erol Akarsu
> > > >
> > > >
> > > >
> > > > --
> > > > View this message in context:
> > > >
> > >
> > http://lucene.472066.n3.nabble.com/Indexing-from-nutch-1-6-to-solr-4-3-1-cloud-tp4075737p4076346.html
> > > > Sent from the Nutch - User mailing list archive at Nabble.com.
> > > >
> > >
> > >
> > > --
> > > TO
> > >
> > >
> > >
> >
> >
> > --
> > TO
> >
> >
> >
> 
> 
> -- 
> TO
> 

Reply via email to