Partial update bug on solr 8.8.0

2021-03-02 Thread Mohsen Saboorian
Any idea about this post? https://stackoverflow.com/q/66335803/141438 Regards.

Re: Getting SOE after a clean import and restart on Solr 7.2.1

2018-02-13 Thread Mohsen Saboorian
at org.apache.solr.common.util.JavaBinCodec.readVal(JavaBinCodec.java:256) at org.apache.solr.common.util.JavaBinCodec.readOrderedMap(JavaBinCodec.java:199) at org.apache.solr.common.util.JavaBinCodec.readObject(JavaBinCodec.java:274) at org.apache.solr.common.util.JavaBinCodec.readVal(JavaBi

Getting SOE after a clean import and restart on Solr 7.2.1

2018-02-13 Thread Mohsen Saboorian
After importing 3 million records from DB into Solr 7.2.1 on a CentOS 7, OpenJDK 8, I just restarted Solr and the core (mycore) cannot instantiate. data/index is 36GB and tlog folder contains a file named tlog.0001862 which is about 20MB. Here is the full log: INFO (main) [ ]

problem with boolaen queries after upgrading solr to 6.2

2016-09-06 Thread Mohsen Saboorian
​I recently upgraded from Solr 4.10 to 6.2 and fully re-indexed my data. There is something strange with boolean queries against edismax. When searching for term abc, it returns 100 results, while when I add another term, say bcd, with OR it returns 10 results. Is there any change in boolean

How to handle line breaks for quoted queries

2015-07-30 Thread Mohsen Saboorian
How can I recognize line breaks and do not allow matching of a quoted query in the following example. I have two documents with just one text field: 1. AAA BBB line break CCC DDD 2. BBB CCC line break DDD AAA User enters query BBB CCC. How can I configure tokenizers so that Solr only returns

Re: Remove operation of partial update doesn't work

2015-07-12 Thread Mohsen Saboorian
Solved as I updated to latest solr 5.2.1. I seems that solr 4.10 is buggy with partial remove operation. On Wed, Jul 8, 2015 at 8:44 PM, Mohsen Saboorian mohs...@gmail.com wrote: Can you post your solrj code? در تاریخ 8 ژوئیهٔ 2015 19:32، Alessandro Benedetti benedetti.ale...@gmail.com نوشت

Re: Remove operation of partial update doesn't work

2015-07-08 Thread Mohsen Saboorian
is not working, please state clearly why you believe that something is not working. Start by describing the symptom. -- Jack Krupansky On Mon, Jul 6, 2015 at 9:22 PM, Mohsen Saboorian mohs...@gmail.com wrote: I can partially 'add' fields to my Solr index, but 'remove' operation seems not working. I'm

Re: Remove operation of partial update doesn't work

2015-07-08 Thread Mohsen Saboorian
use the remove to remove only a single valued field value. Can you explain us what you noticed ? An empty value remain for that field ? It is kind of weird, I would expect the field to become null. Cheers 2015-07-08 10:34 GMT+01:00 Mohsen Saboorian mohs...@gmail.com: In my code when

Re: Remove operation of partial update doesn't work

2015-07-08 Thread Mohsen Saboorian
Can you post your solrj code? در تاریخ 8 ژوئیهٔ 2015 19:32، Alessandro Benedetti benedetti.ale...@gmail.com نوشت: I just tried on my own, and it is working perfectly. Stupid question, have you committed after your update? Cheers 2015-07-08 15:41 GMT+01:00 Mohsen Saboorian mohs...@gmail.com

Re: Remove operation of partial update doesn't work

2015-07-08 Thread Mohsen Saboorian
? Cheers 2015-07-08 15:41 GMT+01:00 Mohsen Saboorian mohs...@gmail.com: ​ I use add and remove both on a multivalue field (think of tags on a blog post). For this, set null won't work because I want only one value (tag) to be removed ​, ​ and set null neither remove one nor all of values

Remove operation of partial update doesn't work

2015-07-06 Thread Mohsen Saboorian
I can partially 'add' fields to my Solr index, but 'remove' operation seems not working. I'm on Solr 4.10. Here is my SolrJ snippet: SolrInputDocument doc = new SolrInputDocument(); MapString, Object partialUpdate = new HashMap(); partialUpdate.put(operation,

Re: Solr 4.10 very slow on build()

2014-11-09 Thread Mohsen Saboorian
://heliosearch.org - native code faceting, facet functions, sub-facets, off-heap data On Sat, Nov 8, 2014 at 2:03 PM, Mohsen Saboorian [hidden email] http://user/SendEmail.jtp?type=nodenode=4168375i=0 wrote: I have a ~4GB index which takes a minute (or over) to /build()/ when starting server

Solr 4.10 very slow on build()

2014-11-08 Thread Mohsen Saboorian
I have a ~4GB index which takes a minute (or over) to /build()/ when starting server. I noticed that this happens when I upgrade from solr 4.0 to 4.10. The index was fully rebuilt with solr 4.10 (using DIH). How can I speed up startup time?Here is the slow part of the starting log:INFO

SEVERE: null:java.io.IOException: Input/output error: NIOFSIndexInput

2013-04-27 Thread Mohsen Saboorian
I have a Solr 4.2 (with Lucene 4.1 index version) server setup on a CentOS 6.4 x86 and Java: OpenJDK Runtime Environment (rhel-2.3.8.0.el6_4-i386) OpenJDK Server VM (build 23.7-b01, mixed mode) Currently it has a 4.6GB index with ~400k records. When I serach for certain keywords, Solr fails with

Search for certain keywords fail: java.io.IOException: Input/output error: NIOFSIndexInput

2013-04-27 Thread Mohsen Saboorian
I have a Solr 4.2 server setup on a CentOS 6.4 x86 and Java: OpenJDK Runtime Environment (rhel-2.3.8.0.el6_4-i386) OpenJDK Server VM (build 23.7-b01, mixed mode) Currently it has a 4.6GB index with ~400k records. When I search for certain keywords, Solr fails with the following message. Any idea

How to boost score of documents with a field equal to a special value

2011-12-11 Thread Mohsen Saboorian
Hi, I have documents with id, type, date and body fields. type has values from 1 to 10. I want to boos results with type=1,2 at query time. Is this possible using function query or similar solr tricks? I want something similar to this but for specific integer values: