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

2017-08-16 Thread Nawab Zada Asad Iqbal
So, I tried few things and it seems like there are more page faults after the solr6 upgrade. Even when there is no update or query activity (Except the periodic commit), the pagefaults are little higher than they used to be . Any suggestions in this area? Thanks Nawab On Tue, Aug 15, 2017 at

Re: Help with Query/Function for conditional boost

2017-08-16 Thread Ahmet Arslan
Hi Shamik, I belive 5-args map function can be used here. Here is a link which may inspire you. http://www.cominvent.com/2012/01/25/super-flexible-autocomplete-with-solr/ Ahmet On Wednesday, August 16, 2017, 11:06:28 PM GMT+3, Shamik Bandopadhyay wrote: Hi,   I'm

Help with Query/Function for conditional boost

2017-08-16 Thread Shamik Bandopadhyay
Hi, I'm trying to create a function to boost dynamically boost a field based on specific values for a searchable field. Here's an example: I've the following query fields with default boost. qf=text^2 title^4 command^8 Also, there's a default boost on the source field. bq=source:help^10

entities, keepwords, and confusion

2017-08-16 Thread John Blythe
hi all, i'm attempting to define some entities in a keepwords file that a group of fields will use as other fields are copied into them. my index analyzer is defined with a KeyWord tokenizer followed by the Keepword filter and a LowerCase for the finale. my query analyzer uses WhiteSpace for

Stack Overflow in FuzzyLookupFactory

2017-08-16 Thread Walter Underwood
Just got a stack overflow in the Lucene automata code. Is there a way to save out the FSA for a bug report? This is in 6.5.1, so it may be related to https://issues.apache.org/jira/browse/SOLR-9458 wunder Walter Underwood wun...@wunderwood.org

Re: Breaking down QTime for debugging performance

2017-08-16 Thread Erick Erickson
Try adding =true to the URL. On Tue, Aug 15, 2017 at 5:18 PM, Nawab Zada Asad Iqbal wrote: > Hi all > > For a given solr host and shard, is there any way to get a breakdown on > QTime to see where is the time being spent? > > > Thanks > Nawab

Re: Issue with delta import

2017-08-16 Thread bhargava ravali koganti
I'm getting error like this Exception while processing: test document : SolrInputDocument(fields: []):org.apache.solr.handler.dataimport.DataImportHandlerException: Unable to execute query: SELECT * FROM person WHERE 'false' != 'false' OR last_modified > '2017-08-09 15:48:02' Processing Document

Re: Issue with delta import

2017-08-16 Thread bhargava ravali koganti
Does this way even handle the deletes? -- View this message in context: http://lucene.472066.n3.nabble.com/Issue-with-delta-import-tp4347680p4350726.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: QueryParser changes query by itself

2017-08-16 Thread Yonik Seeley
The queryCache shouldn't be involved, this is somehow an issue in parsing (and Solr doesn't currently cache parsing). Perhaps there is something shared in your SynonymQParser instances that isn't quite thread safe? It could also be something in the text analysis in lucene as well (related to the

Re: QueryParser changes query by itself

2017-08-16 Thread Bernd Fehling
My class SynonymQParser which calls SolrQueryParserBase.parse : class SynonymQParser extends QParser { protected SolrQueryParser sqparser; ... @Override public Query parse() throws SyntaxError { ... sqparser = new SolrQueryParser(this, defaultField);

Connection rest by peer error

2017-08-16 Thread Srinivas Kashyap
Hello, In one of our tomcat based solr 5.2.1 deployment environment, we are experiencing the below error which is occurring recursively. When the app is restarted, the error won't show up until sometime. Max allowed connections in tomcat context xml and JVM memory of solr is sufficient enough.

Re: Get results in multiple orders (multiple boosts)

2017-08-16 Thread Rick Leir
Luca Can you give me an example? If category_id is 9500, what would you want to sort on? -- Rick On August 16, 2017 5:19:56 AM EDT, Luca Dall'Osto wrote: >Hello Rick, >I have no algorithm: user choose the order of the categories, and the >sources, For example: >

Re: Get results in multiple orders (multiple boosts)

2017-08-16 Thread Luca Dall'Osto
Hello Rick, I have no algorithm: user choose the order of the categories, and the sources,  For example: For Category: - at position 0 category_id 9500. - at position 1 category_id 10. - at position 2 category_ud 555. (etc...) For Source: - at position 0 source_id 12. - at position 1

Re: Issue with delta import

2017-08-16 Thread vrindavda
yes. -- View this message in context: http://lucene.472066.n3.nabble.com/Issue-with-delta-import-tp4347680p4350734.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: QueryParser changes query by itself

2017-08-16 Thread Bernd Fehling
Hi Ahmet, thank you for your reply. I was also targeting towards QueryCache but with your hint about LUCENE-3758 I have a better point to start with. If the system is under high load and the the QueryCache is filled I have a higher rate of changed queries. In debug mode the