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(JavaBinCodec.j

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) [ ] o.e.j

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 quer

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 CCC DDD 2. BBB CCC DDD AAA User enters query "BBB CCC". How can I configure tokenizers so that Solr only returns doc #2? Thanks, Mohs

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 wrote: > Can you post your solrj code? > در تاریخ 8 ژوئیهٔ 2015 19:32، "Alessandro Benedetti" < > benedetti.ale...@g

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-0

Re: Remove operation of partial update doesn't work

2015-07-08 Thread Mohsen Saboorian
tted after your update? > > Cheers > > 2015-07-08 15:41 GMT+01:00 Mohsen Saboorian : > > > ​ > > 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 > &g

Re: Remove operation of partial update doesn't work

2015-07-08 Thread Mohsen Saboorian
amount. > > Must be specified as a single numeric value. > > In my opinion "set" is the right direction to look into. > Not sure what happens if you use the remove to remove only a single valued > field value. > Can you explain us what you noticed ? An empty value rema

Re: Remove operation of partial update doesn't work

2015-07-08 Thread Mohsen Saboorian
hat something 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 wrote: > I can partially 'add' fields to my Solr index, but 'remove' oper

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(); Map partialUpdate = new HashMap<>(); partialUpdate.put(operation, value); // val

Re: Solr 4.10 very slow on build()

2014-11-09 Thread Mohsen Saboorian
-6679 > > -Yonik > http://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=node&node=4168375&i=0>> wrote: > &

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 141101-23:4

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 w

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 t

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: http://wiki.apache.org/solr/S