lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Høydahl <jan....@cominvent.com>
Subject Re: Solr 8.0.0 Customized Indexing
Date Tue, 25 Jun 2019 07:48:09 GMT
Adjust your SQL (located in data-config.xml) to extract just what you need (add a WHERE clause)

--
Jan Høydahl, search solution architect
Cominvent AS - www.cominvent.com

> 25. jun. 2019 kl. 07:23 skrev Anuj Bhargava <anujboss@gmail.com>:
> 
> Customized Indexing date specific
> 
> We have a huge database of more than 10 years. How can I index just some of
> the records - say for last 30 days. One of the fields in the database is
> *date_upload* which contains the date when the record was uploaded.
> 
> Currently using Cron to index -
> curl -q
> http://loaclhost:8983/solr/newsdata/dataimport?command=full-import&clean=true&commit=true
>> /dev/null 2>&1


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message