Issei Nishigata | 29 May 18:20 2016
Picon

After Solr 5.5, mm parameter doesn't work properly

Hi,

“mm" parameter does not work properly, when I set "q.op=AND” after Solr 5.5.
In Solr 5.4, mm parameter works expectedly with the following setting.

---
[schema]
<fieldType name="bi_gram" class="solr.TextField">
  <analyzer>
    <tokenizer class="solr.NGramTokenizerFactory" minGramSize="2" maxGramSize="2"/>
  </analyzer>
</fieldType>

[request]
http://localhost:8983/solr/collection1/select?defType=edismax&q.op=AND&mm=2&q=solar
—

After Solr 5.5, the result will not be the same as Solr 5.4.
Has the setting of mm parameter specs, or description of file setting changed?

[Solr 5.4]
<response>
...
  <lst name="params">
    <str name="mm">2</str>
    <str name="q">solar</str>
    <str name="defType">edismax</str>
    <str name="q.op">AND</str>
  </lst>
...
(Continue reading)

Adam Majid Sanjaya | 29 May 13:10 2016
Picon

Solr 6 CDCR does not work

I’m testing Solr 6 CDCR, but it’s seems not working.

Source configuration:
<requestHandler name="/cdcr" class="solr.CdcrRequestHandler">
  <lst name="replica">
    <str name="zkHost">targetzkip:2181</str>
    <str name=“Source">corehol</str>
    <str name=“Target">corehol</str>
  </lst>

  <lst name="replicator">
    <str name="threadPoolSize">1</str>
    <str name="schedule">1000</str>
    <str name="batchSize">128</str>
  </lst>

  <lst name="updateLogSynchronizer">
    <str name="schedule">5000</str>
  </lst>
</requestHandler>

<updateHandler class="solr.DirectUpdateHandler2">
  <updateLog class="solr.CdcrUpdateLog">
    <str name="dir">${solr.ulog.dir:}</str>
  </updateLog>
</updateHandler>

Target(s) configuration:
<requestHandler name="/cdcr" class="solr.CdcrRequestHandler">
  <lst name="buffer">
(Continue reading)

Derek Poh | 29 May 09:52 2016

float or string type for a field with whole number and decimal number values?

Hi

I have a field that is of "int" type currentlyand it's values are whole 
numbers.

<field name="P_SupplierNeedinessIdx" type="int" indexed="true" 
stored="true" multiValued="false"/>

Due tochange inbusiness requirement, this field will need to take in 
decimal numbers as well.
This fieldis sorted onand filter by range (field:[ 1 to *]).

Should I change the field type to "float" or "string"?
For the change to take effect, do I need to delete all documents in the 
index and do a full indexing? Or I can just do a full indexing without 
theneed to delete all documents first?

Derek

----------------------
CONFIDENTIALITY NOTICE 

This e-mail (including any attachments) may contain confidential and/or privileged information. If you
are not the intended recipient or have received this e-mail in error, please inform the sender
immediately and delete this e-mail (including any attachments) from your computer, and you must not use,
disclose to anyone else or copy this e-mail (including any attachments), whether in whole or in part. 

This e-mail and any reply to it may be monitored for security, legal, regulatory compliance and/or other
appropriate reasons.
vitaly bulgakov | 29 May 02:51 2016
Picon

How to read bag of words from Lucene index

I use Lucene 3.

How can I read content as a bag of words or similar which was indexed from a
text file?

The indexing is done in the following way:
  		addFiles(new File(fileName));
  		int originalNumDocs = writer.numDocs();
  		for (File f : queue) {
  			FileReader fr = null;
  			try {
  				Document doc = new Document();
  				fr = new FileReader(f);
  				doc.add(new Field("content", fr));		

--
View this message in context: http://lucene.472066.n3.nabble.com/How-to-read-bag-of-words-from-Lucene-index-tp4279679.html
Sent from the Solr - User mailing list archive at Nabble.com.

Jay Potharaju | 27 May 22:32 2016
Picon

Slow date filter query

Hi,
I am running filter query(range query) on date fields(high cardinality) and
the performance is really bad ...it takes about 2-5 seconds for it to come
back with response. I am rebuilding the index to have docvalues & tdates
instead of "date" field. But not sure if that will alleviate the problem
because of high cardinality.

Can I store the date as YYYYMMDD and run range queries on them instead of
date fields?
Is that a good option?

--

-- 
Thanks
Jay
Vachon, Jean-Sébastien | 27 May 20:59 2016

Solr vs JDBC driver

Hi All,

I am trying to use Solr’s JDBC driver in Java and I’m stuck with the following error message:


14:52:37,802 ERROR [consoleLogger] java.sql.SQLException: No suitable driver found for jdbc:solr://10.28.213.133:2181/solr?collection=Current

My pom.xml contains:

<dependency>

<groupId>org.apache.solr</groupId>

<artifactId>solr-solrj</artifactId>

<version>6.0.0</version>

</dependency>

I looked at different posts:

Yonnik’s: http://yonik.com/solr-6/

Sematext:  https://sematext.com/blog/2016/04/26/solr-6-as-jdbc-data-source/


And I seem to meet all the requirements

Any idea on what I’m doing wrong?

Thanks

(Continue reading)

Esan London | 27 May 18:49 2016

Solr 4.9.1 MoreLikeThis Handler CursorMark

Hi

The MoreLikeThis handler doesn't appear to be returning a nextcursor value in solr 4.9.1. Is this by design
or something that was changed in the later versions?

thanks for the help
Pablo Anzorena | 27 May 15:05 2016
Picon

OutOfMemoryError does not fire the script

Hello,

I am using solr 5.2.1 in cloud mode. My jvm arguments for the
OutOfMemoryError is
-XX:OnOutOfMemoryError='/etc/init.d/solrcloud;restart'

In the Solr UI, the event is beign fired, but nothing happens.

What am I missing?

Regards.
shivendra.tiwari | 27 May 13:57 2016
Picon

Fw: SolrCloud and Zookeeper integration issue in .net application

Hi,

This is my first time asking the question. I am facing some problems in Solr. Could you please help me out.
Below is my question:

Currently I am using Solr lower version it is working fine but now, we are 
trying to configure SolrCloud for load balance so,
I have configured-  2 Solr nodes and 1 ZooKeeper node, created collections and 
shards also getting data from SQL server on Solr but i need to call 
SolrCloud in .net application. Please tell me, need to call zookeeper or 
SolrCloud and How it will configure in my .net application and what i need 
to configure it please help anyone. 

Warm Regards!

Shivendra Kumar Tiwari

From: shivendra.tiwari 
Sent: Friday, May 27, 2016 1:00 PM
To: solr-user <at> lucene.apache.org 
Subject: SolrCloud and Zookeeper integration issue in .net application

Hi,

Currently I am using Solr lower version it is working fine but now, we are 
trying to configure SolrCloud for load balance so,
I have configured-  2 Solr nodes and 1 ZooKeeper node, created collections and 
shards also getting data from SQL server on Solr but i need to call 
SolrCloud in .net application. Please tell me, need to call zookeeper or 
SolrCloud and How it will configure in my .net application and what i need 
(Continue reading)

Preeti Bhat | 27 May 13:49 2016

Recall: how can we use multi term search along with stop words

Preeti Bhat would like to recall the message, "how can we use multi term search along with stop words".

NOTICE TO RECIPIENTS: This communication may contain confidential and/or privileged information. If
you are not the intended recipient (or have received this communication in error) please notify the
sender and it-support <at> shoregrp.com immediately, and destroy this communication. Any unauthorized
copying, disclosure or distribution of the material in this communication is strictly forbidden. Any
views or opinions presented in this email are solely those of the author and do not necessarily represent
those of the company. Finally, the recipient should check this email and any attachments for the presence
of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.

shivendra.tiwari | 27 May 09:30 2016
Picon

SolrCloud and Zookeeper integration issue in .net application

Hi,

Currently I am using Solr lower version it is working fine but now, we are 
trying to configure SolrCloud for load balance so,
I have configured-  2 Solr nodes and 1 ZooKeeper node, created collections and 
shards also getting data from SQL server on Solr but i need to call 
SolrCloud in .net application. Please tell me, need to call zookeeper or 
SolrCloud and How it will configure in my .net application and what i need 
to configure it please help anyone.

Warm Regards!
Shivendra Kumar Tiwari 

Gmane