Re: Classify stream expression questions

2017-08-14 Thread Joe Obernberger
Thank you Joel - I'm using a ModifiableSolrParams object to build the parameters for Solr (hope this is what you want) toString() returns:

Re: Classify stream expression questions

2017-08-14 Thread Joel Bernstein
My math was off again ... If you have 20 results from 50 shards that would produce the 1000 results. Joel Bernstein http://joelsolr.blogspot.com/ On Mon, Aug 14, 2017 at 10:17 PM, Joel Bernstein wrote: > Actually my math was off. You would need 200 shards to get to 1000

Time taken for CheckIndex on a core

2017-08-14 Thread Shashank Pedamallu
Hi, I was looking for a reliable method to check if my core was in a consistent readable state and came across org.apache.lucene.index.CheckIndex class. However, when I tried to run this command multiple times from the command-line via the main utility method provided, it takes long time to

Re: Classify stream expression questions

2017-08-14 Thread Joel Bernstein
Actually my math was off. You would need 200 shards to get to 1000 result. How many shards do you have? The expression you provided also didn't include the ClusterText field in field list of the search. So perhaps it's missing other parameters. If you include all the parameters I may be able to

Re: Classify stream expression questions

2017-08-14 Thread Joel Bernstein
It looks like you just need to set the rows parameter in the search expression. If you don't set rows the default will be 20 I believe, which will pull to top 20 docs from each shard. If you have 5 shards than the 1000 results would make sense. You can parallelize the whole expression by wrapping

Re: RE: Comparison of Solr with Sharepoint Search

2017-08-14 Thread Ahmet Arslan
Hi, https://manifoldcf.apache.orgĀ is used to crawl content from SharePoint and index into Solr. Ahmet On Monday, August 14, 2017, 9:05:20 PM GMT+3, jmahuang wrote: Sir, Can SOLR search existing SharePoint document libraries and lists? Thanks! -- View this message

Re: Comparison of Solr with Sharepoint Search

2017-08-14 Thread Rick Leir
To get the content into Solr, you need to configure the SharePoint crawler and content processor so that your custom script gets called (I think that is possible, but have never done it). The script needs to post the content of each page to the Solr RESTful interface. On August 14, 2017

Classify stream expression questions

2017-08-14 Thread Joe Obernberger
Hi All - I'm using the classify stream expression and the results returned are always limited to 1,000. Where do I specify the number to return? The stream expression that I'm using looks like:

Re: Comparison of Solr with Sharepoint Search

2017-08-14 Thread obat wanita
http://jualobatcytoteclegal.com/jual...aborsi-malang/ Sepertinya setelah sekian lama anda mencari informasi tentang itu, baru hari ini anda menemukan web kami ini. -- View this message in context:

Re: Comparison of Solr with Sharepoint Search

2017-08-14 Thread John Bickerstaff
Anything that Solr searches must exist in the Solr index. You could do it, but you'd need to get those documents into Solr "format" and indexed by Solr... Then you could return results that include a link to the actual doc in SharePoint. On Mon, Aug 14, 2017 at 11:08 AM, jmahuang

Re: Comparison of Solr with Sharepoint Search

2017-08-14 Thread jmahuang
Hoss, Sorry I cannot open these links: http://old.nabble.com/SOLR-X-FAST-to14284618.html http://old.nabble.com/Replacing-FAST-functionality-at-sesam.no-td19186109.html http://old.nabble.com/Experiences-from-migrating-from-FAST-to-Solr-td26371613.html

RE: Comparison of Solr with Sharepoint Search

2017-08-14 Thread jmahuang
Sir, Can SOLR search existing SharePoint document libraries and lists? Thanks! -- View this message in context: http://lucene.472066.n3.nabble.com/Comparison-of-Solr-with-Sharepoint-Search-tp498534p4350502.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Unable to write response, client closed connection or we are shutting down

2017-08-14 Thread Rick Leir
Nawab What test software do you use? What else is happening when the exception occurs? Cheers -- Rick On August 12, 2017 1:48:19 PM EDT, Nawab Zada Asad Iqbal wrote: >Hi, > >I am executing a query performance test against my solr 6.6 setup and I >noticed following exception

RE: 6.6.0 getNumShards() NPE?!

2017-08-14 Thread Markus Jelsma
Sure! Any plugin that has SolrCore has the problem, a RequestHandler for example: public void handleRequestBody(SolrQueryRequest req, SolrQueryResponse rsp) throws Exception { LOG.info("numShards: "+ core.getCoreDescriptor().getCloudDescriptor().getNumShards()); } 2017-08-14

Re: ConcurrentUpdateSolrClient example?

2017-08-14 Thread Jason Gerlowski
Ah, glad you figured it out. And thanks for the clarification. That does look like something that could/should be improved though. QueueSize could be given a reasonable (and documented) default, to save people from the IAE. I'll take a look this afternoon and create a JIRA if there's not a

Re: 6.6.0 getNumShards() NPE?!

2017-08-14 Thread Shalin Shekhar Mangar
Can you please post the steps to reproduce this? On Thu, Aug 10, 2017 at 4:12 PM, Markus Jelsma wrote: > I can now reproduce it on the two shard, two replica cluster. > > It does NOT happen on the collection_shard1_replica1 and > collection_shard2_replica1 nodes. > >

Re: ConcurrentUpdateSolrClient example?

2017-08-14 Thread Paul Smith Parker
Hello Jason, I figured it out: 1) ConcurrentUpdateSolrClient build = new ConcurrentUpdateSolrClient.Builder("http://localhost:8389/solr/core;).build(); 2) ConcurrentUpdateSolrClient build = new ConcurrentUpdateSolrClient.Builder("http://localhost:8389/solr/core;)