Index field data is not updated in case of Full-import with clean=false and commit=true

2014-09-11 Thread Dharmendra Jaiswal
I am using SOLR-3.3.0 version with multi-core setup.
We have already perform Full-import to index data from database.
Let assume that we have updated some value in table for set of column
and some how delta-import has missed these update in index due to xyz
reason.

In that case we have run Full-import with clean=false and commit=true.
Indexing was successful but we are still getting old data in search
response.
Updated column data is not reflected in search response.

Please let me know is something i have missed in above steps.
or do i need to run full-import with clean=true.

Any pointer will be helpful in this case.







--
View this message in context: 
http://lucene.472066.n3.nabble.com/Index-field-data-is-not-updated-in-case-of-Full-import-with-clean-false-and-commit-true-tp4158146.html
Sent from the Solr - User mailing list archive at Nabble.com.


How we can get JSON response using CloudSolrServer

2013-11-12 Thread Dharmendra Jaiswal
I am using Solr4.4.0 version with SolrCloud (i.e. a ZooKeeper aware setup)
I want to get search response in JSON using CloudSolrServer (of SolrJ API).
Any pointer will be helpful.



--
View this message in context: 
http://lucene.472066.n3.nabble.com/How-we-can-get-JSON-response-using-CloudSolrServer-tp4100426.html
Sent from the Solr - User mailing list archive at Nabble.com.


How to share Schema between multicore on Solr 4.4

2013-10-07 Thread Dharmendra Jaiswal
I am using Solr 4.4 version with SolrCloud on Windows machine.
Somehow i am not able to share schema between multiple core.

My solr.xml file look like:-
solr
str name=shareSchema${shareSchema:true}/str
solrcloud
str name=hostContext${hostContext:SolrEngine}/str
int name=hostPort${tomcat.port:8080}/int
int name=zkClientTimeout${zkClientTimeout:15000}/int
/solrcloud

I have used core.properties file for each core. One of the core (say
collection1) contains schema.xml file and rest will having all the config
file excluding schema.xml.

core.properties file contains
name=corename

After deployment 
I am getting following error

collection2:
org.apache.solr.common.SolrException:org.apache.solr.common.SolrException:
Error loading schema resource schema.xml 

Please note that i have provided shareSchema=true in solr.xml file.

Please let me know if anything is missing.
Any pointer will be helpful.

Thanks,
Dharmendra Jaiswal



--
View this message in context: 
http://lucene.472066.n3.nabble.com/How-to-share-Schema-between-multicore-on-Solr-4-4-tp4093881.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Can we used CloudSolrServer for searching data

2013-09-11 Thread Dharmendra Jaiswal
Thanks for your reply.

I am using Solrcloud with zookeeper setup.
And using CloudSolrServer for both indexing and searching.
As per my understanding CloudSolrserver by default using LBHttpSolrServer.
And CloudSolrServer connect to Zookeeper and passing all the running server
node to LBHttpSolrServer.

Thanks for you guys once again for your reply.




--
View this message in context: 
http://lucene.472066.n3.nabble.com/Can-we-used-CloudSolrServer-for-searching-data-tp4086766p4089475.html
Sent from the Solr - User mailing list archive at Nabble.com.


Can we used CloudSolrServer for searching data

2013-08-27 Thread Dharmendra Jaiswal
Hello,

I am using multi-core mechnism with Solr4.4.0. And each core is dedicated to
a
particular client (each core is a collection)

Like If we search data from SiteA, it will provide search result from CoreA
And if we search data from SiteB, it will provide search result from CoreB
and similar case with other client.

Right now i am using HttpSolrServer (SolrJ API) for connecting with Solr for
search.
As per my understanding it will try to connect directly to a particular Solr
instance for searching and if that node will be down searching will fail.
please let me know if my assumption is wrong.

My query is that is it possible to connect with Solr using CloudSolrServer
instead of HTTPSolrServer for searching. so that in case one node will be
down cloud solr server will pick data from other instance of Solr.

Any pointer and link will be helpful. it will be better if some one shared
me some example related to connection using ClouSolrServer.

Note: I am Using Windows machine for deployment of Solr. And we are indexing
data from database using DIH

Thanks,
Dharmendra jaiswal 



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Can-we-used-CloudSolrServer-for-searching-data-tp4086766.html
Sent from the Solr - User mailing list archive at Nabble.com.