Hello,

GetSolr was made to do incremental extraction of new records from a
core/collection. The idea would be to schedule the processor on a standard
interval, say every 5 mins, and extract the new records in the last 5
minutes. In order to do this it needs a way to determine which records were
new in the last 5 mins, so it keeps track of the last time it executed, and
then finds records where the value of the date field is greater than the
last time it executed. There are probably some other uses that would should
figure out and support as well.

Could you give some more details on your use case, or what kind of
functionality you were looking for?

As far as the other errors...

For all NiFi versions prior to 1.1, the Solr processors were built against
SolrJ 5.x, and in NiFI 1.1 we upgrade to SolrJ 6.x, so it would come down
to which versions of SolrJ are compatible with which versions of Solr. I
don't know if SolrJ 5.x is compatible with Solr 3.6.

If you are using standard Solr then the Solr Location in the processor
should be something like "http://yourhost:port/solr/your_core_name";.

if you are using Solr cloud then the Solr Location in the processor should
be the ZooKeeper location like "localhost:9983" which is the default
location if you started a Solr with embedded ZooKeeper.

Thanks,

Bryan


On Tue, Dec 6, 2016 at 11:27 AM, srini <[email protected]> wrote:

> Hello,
>
> - Why is date field mandatory field?
> - On our solr, standard and version is 3.6, I am getting this error
> "Expected mime type application/octet-stream but got text/html"
> - On our solr, cloud and version 5.3.1, I am getting this error
> "org.apache.solr.common.SolrException:
> java.util.concurrent.TimeoutException: Could not connect to ZooKeeper
> <host>:<port>/solr"
>
> thanks
> Srini
>
>
>
> --
> View this message in context: http://apache-nifi-developer-
> list.39713.n7.nabble.com/Issues-with-GetSolr-tp14141.html
> Sent from the Apache NiFi Developer List mailing list archive at
> Nabble.com.
>

Reply via email to