RE: HOW DO I UNSUBSCRIBE FROM GROUP?

2017-10-15 Thread info
 
Hi,

Just wondering how do I 'unsubscribe' from the emails I'm receiving from the
group?

I'm getting way more emails than I need right now and would like them to
'stop'... But there is NO UNSUBSCRIBE link in any of the emails.

Thanks,
Rita

-Original Message-
From: Reth RM [mailto:reth.ik...@gmail.com] 
Sent: Sunday, October 15, 2017 10:57 PM
To: solr-user@lucene.apache.org
Subject: Efficient query to obtain DF

Dear Solr-User Group,

   Can you please suggest efficient query for retrieving term to document
frequency(df) of that term at shard index level?

I know we can get term to df mapping by applying termVectors component
,
however, results returned by this component are each doc to term and its
df. I was looking for straight forward flat list of terms-df mapping,
similar to how terms component returns term-tf (term frequency) map list.

Thank you.



UN-SUBSCRIBE ME PLEASE - 2ND REQUEST...

2018-06-01 Thread info
 
THIS IS MY 2ND REQUEST - PLEASE UNSUBSCRIBE ME



EmbeddedSolrServer vs CommonsHttpSolrServer

2010-02-12 Thread dcdmailbox-info
Hi all,

I am new to solr/solrj.

I correctly started up the server example given in the distribution 
(apache-solr-1.4.0\example\solr), populated the index with test data set, and 
successfully tested with http query string via browser (es. 
http://localhost:8983/solr/select/?indent=on&q=video&fl=name,id)

I am trying to set up solrj clients using both CommonsHttpSolrServer and 
EmbeddedSolrServer.

My examples are with single core configuration.

Here below the method used for CommonsHttpSolrServer initialization:

[code.1]
public SolrServer getCommonsHttpSolrServer() throws IOException, 
ParserConfigurationException, SAXException, SolrServerException {
String url = "http://localhost:8983/solr";;
CommonsHttpSolrServer server = new CommonsHttpSolrServer(url);
server.setSoTimeout(1000); // socket read timeout
server.setConnectionTimeout(100);
server.setDefaultMaxConnectionsPerHost(100);
server.setMaxTotalConnections(100);
server.setFollowRedirects(false); // defaults to false
// allowCompression defaults to false.
// Server side must support gzip or deflate for this to have any effect.
server.setAllowCompression(true);
server.setMaxRetries(1); // defaults to 0. > 1 not recommended.
return server;
}

Here below the method used for EmbeddedSolrServer initialization (provided in 
the wiki section):

[code.2]
public SolrServer getEmbeddedSolrServer() throws IOException, 
ParserConfigurationException, SAXException, SolrServerException {
System.setProperty("solr.solr.home", 
"/WORKSPACE/bin/apache-solr-1.4.0/example/solr");
CoreContainer.Initializer initializer = new CoreContainer.Initializer();
CoreContainer coreContainer = initializer.initialize();
EmbeddedSolrServer server = new EmbeddedSolrServer(coreContainer, "");
return server;
}

Here below the common code used to query the server: 
[code.3]

SolrServer server = mintIdxMain.getEmbeddedSolrServer();
//SolrServer server = mintIdxMain.getCommonsHttpSolrServer();

SolrQuery query = new SolrQuery("video");
QueryResponse rsp = server.query(query);
SolrDocumentList docs = rsp.getResults();

System.out.println("Found: " + docs.getNumFound());
System.out.println("Start: " + docs.getStart());
System.out.println("Max Score: " + docs.getMaxScore());

 
CommonsHttpSolrServer gives correct results whereas EmbeddedSolrServer gives 
always no results.
What's wrong with the initialization and/or the configuration of the 
EmbeddedSolrServer?
CoreContainer.Initializer() seems to not recognize the single core from 
solrconfig.xml...

If I modify [code.2] with the following code, it seems to work. 
I manually added only explicit Core Container registration. 
Is [code.4] the correct way?

[code.4]
public SolrServer getEmbeddedSolrServer() throws IOException, 
ParserConfigurationException, SAXException, SolrServerException {
System.setProperty("solr.solr.home", 
"/WORKSPACE/bin/apache-solr-1.4.0/example/solr");

CoreContainer.Initializer initializer = new CoreContainer.Initializer();
CoreContainer coreContainer = initializer.initialize();

/* > */
SolrConfig solrConfig = new 
SolrConfig("/WORKSPACE/bin/apache-solr-1.4.0/example/solr", "solrconfig.xml", 
null);
IndexSchema indexSchema = new IndexSchema(solrConfig, "schema.xml", 
null);
CoreDescriptor coreDescriptor = new CoreDescriptor(coreContainer, "", 
solrConfig.getResourceLoader().getInstanceDir());
SolrCore core = new SolrCore(null, 
"/WORKSPACE/bin/apache-solr-1.4.0/example/solr/data", solrConfig, indexSchema, 
coreDescriptor);
coreContainer.register("", core, false);
/* < */

EmbeddedSolrServer server = new EmbeddedSolrServer(coreContainer, "");
return server;
}

Many thanks in advance for the support and the great work realized with all the 
lucene/solr projects.

Dino.
--


  

Re: EmbeddedSolrServer vs CommonsHttpSolrServer

2010-02-12 Thread dcdmailbox-info
Yes you are right.
[code.2] works fine by commenting out the following lines on solrconfig.xml 





Is it correct this different behaviour  from EmbeddedSolrServer ?
Or it can be considered a low priority bug?
Thanks for you prompt reply!
Dino.
--





Da: Ron Chan 
A: solr-user@lucene.apache.org
Inviato: Ven 12 febbraio 2010, 11:14:58
Oggetto: Re: EmbeddedSolrServer  vs CommonsHttpSolrServer

I suspect this has something to do with the dataDir setting in the example 's 
solrconfig.xml 

${solr.data.dir:./solr/data} 

we use the example's solrconfig.xml as the base for our deployments and always 
comment this out 

the default of having conf and data sitting under the solr home works well 


- Original Message - 
From: dcdmailbox-i...@yahoo.it 
To: solr-user@lucene.apache.org 
Sent: Friday, 12 February, 2010 8:30:57 AM 
Subject: EmbeddedSolrServer vs CommonsHttpSolrServer 

Hi all, 

I am new to solr/solrj. 

I correctly started up the server example given in the distribution 
(apache-solr-1.4.0\example\solr), populated the index with test data set, and 
successfully tested with http query string via browser (es. 
http://localhost:8983/solr/select/?indent=on&q=video&fl=name,id) 

I am trying to set up solrj clients using both CommonsHttpSolrServer and 
EmbeddedSolrServer. 

My examples are with single core configuration. 

Here below the method used for CommonsHttpSolrServer initialization: 

[code.1] 
public SolrServer getCommonsHttpSolrServer() throws IOException, 
ParserConfigurationException, SAXException, SolrServerException { 
String url = "http://localhost:8983/solr";; 
CommonsHttpSolrServer server = new CommonsHttpSolrServer(url); 
server.setSoTimeout(1000); // socket read timeout 
server.setConnectionTimeout(100); 
server.setDefaultMaxConnectionsPerHost(100); 
server.setMaxTotalConnections(100); 
server.setFollowRedirects(false); // defaults to false 
// allowCompression defaults to false. 
// Server side must support gzip or deflate for this to have any effect. 
server.setAllowCompression(true); 
server.setMaxRetries(1); // defaults to 0. > 1 not recommended. 
return server; 
} 

Here below the method used for EmbeddedSolrServer initialization (provided in 
the wiki section): 

[code.2] 
public SolrServer getEmbeddedSolrServer() throws IOException, 
ParserConfigurationException, SAXException, SolrServerException { 
System.setProperty("solr.solr.home", 
"/WORKSPACE/bin/apache-solr-1.4.0/example/solr"); 
CoreContainer.Initializer initializer = new CoreContainer.Initializer(); 
CoreContainer coreContainer = initializer.initialize(); 
EmbeddedSolrServer server = new EmbeddedSolrServer(coreContainer, ""); 
return server; 
} 

Here below the common code used to query the server: 
[code.3] 

SolrServer server = mintIdxMain.getEmbeddedSolrServer(); 
//SolrServer server = mintIdxMain.getCommonsHttpSolrServer(); 

SolrQuery query = new SolrQuery("video"); 
QueryResponse rsp = server.query(query); 
SolrDocumentList docs = rsp.getResults(); 

System.out.println("Found : " + docs.getNumFound()); 
System.out.println("Start : " + docs.getStart()); 
System.out.println("Max Score: " + docs.getMaxScore()); 


CommonsHttpSolrServer gives correct results whereas EmbeddedSolrServer gives 
always no results. 
What's wrong with the initialization and/or the configuration of the 
EmbeddedSolrServer? 
CoreContainer.Initializer() seems to not recognize the single core from 
solrconfig.xml... 

If I modify [code.2] with the following code, it seems to work. 
I manually added only explicit Core Container registration. 
Is [code.4] the correct way? 

[code.4] 
public SolrServer getEmbeddedSolrServer() throws IOException, 
ParserConfigurationException, SAXException, SolrServerException { 
System.setProperty("solr.solr.home", 
"/WORKSPACE/bin/apache-solr-1.4.0/example/solr"); 

CoreContainer.Initializer initializer = new CoreContainer.Initializer(); 
CoreContainer coreContainer = initializer.initialize(); 

/* > */ 
SolrConfig solrConfig = new 
SolrConfig("/WORKSPACE/bin/apache-solr-1.4.0/example/solr", "solrconfig.xml", 
null); 
IndexSchema indexSchema = new IndexSchema(solrConfig, "schema.xml", null); 
CoreDescriptor coreDescriptor = new CoreDescriptor(coreContainer, "", 
solrConfig.getResourceLoader().getInstanceDir()); 
SolrCore core = new SolrCore(null, 
"/WORKSPACE/bin/apache-solr-1.4.0/example/solr/data", solrConfig, indexSchema, 
coreDescriptor); 
coreContainer.register("", core, false); 
/* < */ 

EmbeddedSolrServer server = new EmbeddedSolrServer(coreContainer, ""); 
return server; 
} 

Many thanks in advance for the support and the great work realized with all the 
lucene/solr projects. 

Dino. 
-- 


  

RE: Solr8.7 - How to optmize my index ?

2020-12-01 Thread Info MatheoSoftware
Hi All,



I found the solution, I must do :

curl ‘http://xxx:8983/solr/my_core/update?

commit=true&expungeDeletes=true’



It works fine



Thanks,

Bruno







De : Matheo Software [mailto:i...@matheo-software.com]
Envoyé : mardi 1 décembre 2020 13:28
À : solr-user@lucene.apache.org
Objet : Solr8.7 - How to optmize my index ?



Hi All,



With Solr5.4, I used the UI button but in Solr8.7 UI this button is missing.



So I decide to use the command line:

curl http://xxx:8983/solr/my_core/update?optimize=true



My collection my_core exists of course.



The answer of the command line is:

{

  "responseHeader":{

"status":0,

"QTime":18}

}



But nothing change.

I always have 38M deleted docs in my collection and directory size no change
like with solr5.4.

The size of the collection stay always at : 466.33Go



Could you tell me how can I purge deleted docs ?



Cordialement, Best Regards

Bruno Mannina

  www.matheo-software.com

  www.patent-pulse.com

Tél. +33 0 970 738 743

Mob. +33 0 634 421 817

  facebook (1)
 1425551717
 1425551737
 1425551760





  _


  Avast logo

L'absence de virus dans ce courrier électronique a été vérifiée par le
logiciel antivirus Avast.
www.avast.com 







--
L'absence de virus dans ce courrier électronique a été vérifiée par le logiciel 
antivirus Avast.
https://www.avast.com/antivirus


Is Solr can do that ?

2019-06-21 Thread Matheo Software Info
Dear Solr User,



My question is very simple J I would like to know if Solr can process around
30To of data (Pdf, Text, Word, etc…) ?



What is the best way to index this huge data ? several servers ? several
shards ? other ?



Many thanks for your information,





Cordialement, Best Regards

Bruno Mannina

  www.matheo-software.com

  www.patent-pulse.com

Tél. +33 0 970 738 743

Mob. +33 0 634 421 817

  facebook (1)
 1425551717
 1425551737
 1425551760





---
L'absence de virus dans ce courrier électronique a été vérifiée par le logiciel 
antivirus Avast.
https://www.avast.com/antivirus