Re: Solr Merge Index

2016-07-07 Thread Kalpana
This did the trick

 
 
 
localhost:8983/solr/sitecore_web_index,localhost:8983/solr/SharePo‌​int_All
 


Thanks



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Solr-Merge-Index-tp4286081p4286272.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Solr Merge Index

2016-07-07 Thread Kalpana
Some more info:

I am using Solrnet in my MVC project for search results:

var urlHealthInfo = ConfigurationManager.AppSettings["solrSPHealthInfo"] !=
null ?
ConfigurationManager.AppSettings["solrSitecoreSPHealthInfo"].ToString() :
"http://localhost:8983/solr/Sitecore_SharePoint_HealthInformation;;

var solrServers = new SolrServers {
new SolrServerElement {
Id = "solrHealthInfo",
Url = urlHealthInfo,
DocumentType = typeof
(SPHealthInfoSearchResultsViewModel).AssemblyQualifiedName
}
}

Will I be able to use Shards?

Thanks



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Solr-Merge-Index-tp4286081p4286251.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Solr Merge Index

2016-07-07 Thread Kalpana
Thanks for your reply.
I am using Solrnet to set up the search object. Is it possible to use the same 
for sharding?





On Jul 7, 2016, at 4:11 AM, Shalin Shekhar Mangar [via Lucene] 
<ml-node+s472066n428613...@n3.nabble.com<mailto:ml-node+s472066n428613...@n3.nabble.com>>
 wrote:

Why do you need the merged core? If the underlying data is changing then
obviously the merged core won't automatically update it self. And another
merge will introduce duplicate data. So this is a bad solution.

You can just keep the two cores and do a distributed search across both of
them? You can specify shards=http://localhost:8983/solr/
<http://localhost:8983/solr/admin/cores?action=mergeindexes=core3=sitecore_web_index=core2>
core1,http://localhost:8983/solr/
<http://localhost:8983/solr/admin/cores?action=mergeindexes=core3=sitecore_web_index=core2>core2
as a parameter to your search requests.

On Thu, Jul 7, 2016 at 4:32 AM, Kalpana <[hidden 
email]>
wrote:

> Hello
>
> I have two sources - Sitecore web index (core 1) and a database table (core
> 2). I have created core 3 which is a merge of core1 and core 2.
>
>
> http://localhost:8983/solr/admin/cores?action=mergeindexes=core3=sitecore_web_index=core2
>
> But when someone publishes a page on Sitecore, the sitecore web index gets
> updated but not the merged core. How can get the real time data with the
> merge? Is there a way?
>
> Thanks
> Kalpana
>
>
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/Solr-Merge-Index-tp4286081.html
> Sent from the Solr - User mailing list archive at 
> Nabble.com<http://Nabble.com>.
>



--
Regards,
Shalin Shekhar Mangar.



If you reply to this email, your message will be added to the discussion below:
http://lucene.472066.n3.nabble.com/Solr-Merge-Index-tp4286081p4286130.html
To unsubscribe from Solr Merge Index, click 
here<http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code=4286081=a3NpdmFuYW5kYW5AcG9ydGFsc29sdXRpb25zLm5ldHw0Mjg2MDgxfDE0MzYwODg4Mjk=>.
NAML<http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer=instant_html%21nabble%3Aemail.naml=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>




--
View this message in context: 
http://lucene.472066.n3.nabble.com/Solr-Merge-Index-tp4286081p4286153.html
Sent from the Solr - User mailing list archive at Nabble.com.

Re: Solr Merge Index

2016-07-07 Thread Shalin Shekhar Mangar
Why do you need the merged core? If the underlying data is changing then
obviously the merged core won't automatically update it self. And another
merge will introduce duplicate data. So this is a bad solution.

You can just keep the two cores and do a distributed search across both of
them? You can specify shards=http://localhost:8983/solr/
<http://localhost:8983/solr/admin/cores?action=mergeindexes=core3=sitecore_web_index=core2>
core1,http://localhost:8983/solr/
<http://localhost:8983/solr/admin/cores?action=mergeindexes=core3=sitecore_web_index=core2>core2
as a parameter to your search requests.

On Thu, Jul 7, 2016 at 4:32 AM, Kalpana <ksivanan...@portalsolutions.net>
wrote:

> Hello
>
> I have two sources - Sitecore web index (core 1) and a database table (core
> 2). I have created core 3 which is a merge of core1 and core 2.
>
>
> http://localhost:8983/solr/admin/cores?action=mergeindexes=core3=sitecore_web_index=core2
>
> But when someone publishes a page on Sitecore, the sitecore web index gets
> updated but not the merged core. How can get the real time data with the
> merge? Is there a way?
>
> Thanks
> Kalpana
>
>
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/Solr-Merge-Index-tp4286081.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>



-- 
Regards,
Shalin Shekhar Mangar.


Solr Merge Index

2016-07-06 Thread Kalpana
Hello

I have two sources - Sitecore web index (core 1) and a database table (core
2). I have created core 3 which is a merge of core1 and core 2. 

http://localhost:8983/solr/admin/cores?action=mergeindexes=core3=sitecore_web_index=core2

But when someone publishes a page on Sitecore, the sitecore web index gets
updated but not the merged core. How can get the real time data with the
merge? Is there a way?

Thanks
Kalpana



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Solr-Merge-Index-tp4286081.html
Sent from the Solr - User mailing list archive at Nabble.com.