Re: Fetch a binary field

2017-08-17 Thread GW
Had the same issue with long base64_encoded images. Binary & string failed. Set my field type to field type ignored. Doesn't seem right (or wrong) but it worked. On 17 August 2017 at 03:58, Rick Leir wrote: > On 2017-08-12 04:19 AM, Barbet Alain wrote: > >> Hi ! >> >> Because this field containt

Re: ConcurrentUpdateSolrClient example?

2017-08-17 Thread Jason Gerlowski
Created SOLR-11256 for giving "queueSize" a default. There's a patch attached on that JIRA with 10 as the chosen default. Whether that particular value sticks or not, at least there's a fix in the works! On Mon, Aug 14, 2017 at 9:36 AM, Jason Gerlowski wrote: > Ah, glad you figured it out. And

Request Highlighting only for the final set of rows

2017-08-17 Thread Nawab Zada Asad Iqbal
Hi, In a multi-node solr installation (without SolrCloud), during a paging scenario (e.g., start=1000, rows=200), the primary node asks for 1200 rows from each shard. If highlighting is ON, then the primary node is asking for highlighting all the 1200 results from each shard, which doesn't scale w

Re: solr asks more and more rows from shards

2017-08-17 Thread Nawab Zada Asad Iqbal
So, it turned out that i was not paying attention to the start parameter. I found that the 'primary' node is asking for very large count of rows from shard nodes when the start= is a large value. On Thu, Aug 17, 2017 at 11:28 AM, Nawab Zada Asad Iqbal wrote: > Hi solr community > > I am having p

Re: Time taken for CheckIndex on a core

2017-08-17 Thread Shashank Pedamallu
Thanks a lot for the reply Shawn! That makes sense. Thanks, Shahsank On 8/17/17, 11:37 AM, "Shawn Heisey" wrote: On 8/14/2017 8:19 PM, Shashank Pedamallu wrote: > I was looking for a reliable method to check if my core was in a > consistent readable state and came across > org.a

Re: Issue found with install_solr_service.sh

2017-08-17 Thread Shawn Heisey
On 8/16/2017 9:55 PM, Eddie Trejo wrote: > Not sure if this is the right channel to report a possible bug, but I think > there is a syntax error on lines 280 - 281 > > find "$SOLR_INSTALL_DIR" -type d -print0 | xargs -0 chmod 0755 > find "$SOLR_INSTALL_DIR" -type f -print0 | xargs -0 chmod 064

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

2017-08-17 Thread Nawab Zada Asad Iqbal
Hi Shawn; Double thanks for answering my whole thread. Regarding the page fault thing, that seems to be a concern because this setup is identical for both solr4 and solr6. Although, I cannot find a good way to debug it yet. I found some strange behavior today that my primary solr node (which ha

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

2017-08-17 Thread Shawn Heisey
On 8/12/2017 11:48 AM, Nawab Zada Asad Iqbal wrote: > I am executing a query performance test against my solr 6.6 setup and I > noticed following exception every now and then. What do I need to do? > > Aug 11, 2017 08:40:07 AM INFO (qtp761960786-250) [ x:filesearch] > o.a.s.s.HttpSolrCall Unable

Re: Issue found with install_solr_service.sh

2017-08-17 Thread Jason Gerlowski
Also, can you confirm whether there are files in your install/extract directory? On Thu, Aug 17, 2017 at 2:22 PM, Jason Gerlowski wrote: > Hi Eddie, thanks for reporting. > > This is a common issue with "xargs". When xargs doesn't receive any > input through the pipe (i.e. if "find" doesn't find

solr asks more and more rows from shards

2017-08-17 Thread Nawab Zada Asad Iqbal
Hi solr community I am having performance issues after solr6 upgrade. I have multiple nodes in the cluster and direct queries to one of them with `shards=[list of hosts]` which takes care of submitting queries to all the shards and aggregating the results. All the original queries have rows=200.

Re: Issue found with install_solr_service.sh

2017-08-17 Thread Jason Gerlowski
Hi Eddie, thanks for reporting. This is a common issue with "xargs". When xargs doesn't receive any input through the pipe (i.e. if "find" doesn't find anything), it isn't smart enough to exit-early and still tries to run the "chmod" command without a filename. The "-r" flag is present in most v

Solr Logs to ELK / AWS Firestream

2017-08-17 Thread John Bickerstaff
All, I'm trying to get Solr logs into AWS Firestream. Not having a lot of luck. Does anyone out there have any experience getting Solr logs into an ELK stack? Or, better yet, getting Solr Logs into AWS Firestream? We direct logs to SLF4J and use logback as our SLF4j implementation. I have a n

Re: Solr query help

2017-08-17 Thread Nawab Zada Asad Iqbal
Hi Krishna I haven't used date range queries myself. But if Solr only supports a particular date format, you can write a thin client for queries, which will convert the date to solr's format and query solr. Nawab On Thu, Aug 17, 2017 at 7:36 AM, chiru s wrote: > Hello guys > > I am working on

Solr query help

2017-08-17 Thread chiru s
Hello guys I am working on Apache solr and I am stuck with a use case. The input data will be in the documents like 2017/03/15 in 1st document, 2017/04/15 in 2nd doc, 2017/05/15 in 3rd doc, 2017/06/15 in 4th doc so on But while fetching the data it should fetch like 03/15/2017 for the first

Re: Query Partial Matching on auto schema

2017-08-17 Thread Erick Erickson
You can 1> use the "managed schema API", see: https://lucene.apache.org/solr/guide/6_6/schema-api.html#schema-api or 2> switch to "classic schema", see: https://lucene.apache.org/solr/guide/6_6/schema-factory-definition-in-solrconfig.html or 3> You can actually edit that file if you do it offline.

Issue found with install_solr_service.sh

2017-08-17 Thread Eddie Trejo
Hi There Not sure if this is the right channel to report a possible bug, but I think there is a syntax error on lines 280 - 281 find "$SOLR_INSTALL_DIR" -type d -print0 | xargs -0 chmod 0755 find "$SOLR_INSTALL_DIR" -type f -print0 | xargs -0 chmod 0644 The below is printed on screen during

Re: Issue with delta import

2017-08-17 Thread bhargava ravali koganti
Yes it does work in that case. And one more thing is, I'm use my database as cassandra not sql. Probably, that must be the problem. -- View this message in context: http://lucene.472066.n3.nabble.com/Issue-with-delta-import-tp4347680p4350901.html Sent from the Solr - User mailing list archive a

Re: Connection rest by peer error

2017-08-17 Thread Shawn Heisey
On 8/16/2017 4:20 AM, Srinivas Kashyap wrote: > In one of our tomcat based solr 5.2.1 deployment environment, we are > experiencing the below error which is occurring recursively. Running Solr 5.2.1 in Tomcat is an unsupported configuration. It is likely that you can get it to work, but it falls

EdgeNGramFilterFactory did not work

2017-08-17 Thread Guilleret Florian
Hi, I want to got this use : My document got SKU. Like : 27VAN670 When i query 27VAN670 solr return my document well. But when i query 27VAN solr return 0 document; So someone telle me to use EdgeNGramFilterFactory. With SOLR Api I add new Field Type : { "add-field-type" : {

Re: Issue with delta import

2017-08-17 Thread Rick Leir
It says here https://cwiki.apache.org/confluence/display/solr/Parallel+SQL+Interface#ParallelSQLInterface-SolrSQLSyntax that you need to escape the FROM. Did you try it without the 'false' != 'false' OR On 2017-08-16 04:07 AM, bhargava ravali koganti wrote: I'm getting error like this Exce

Re: Fetch a binary field

2017-08-17 Thread Rick Leir
On 2017-08-12 04:19 AM, Barbet Alain wrote: Hi ! Because this field containt a zipped xml that is bigger than all others fields & I don't need it for searching, just for display. Yes it would be better if this field is outside the Lucene base, but as I have hundred of bases like that, with milli

Re: Query Partial Matching on auto schema

2017-08-17 Thread Guilleret Florian
Thanks you for your answer. So i saw that in solrconfig.xml i got : true managed-schema And in file managed-schema i got all the schema : But solr tell to not edit the managed-schema. So where do i need to put this : ? Guilleret Florian

[bulk]: Re: Optimizing Dataimport from Oracle; cursor sharing; changing oracle session parameters

2017-08-17 Thread Mannott, Birgit
Thanks to all for your support. Many good ideas! But meanwhile I found a way using the Oracle "AFTER LOGON" Trigger where I am able to identify if it is a connection from solr and then switch to cursor sharing. By the way cursor sharing reduced the import time from 12 to 6 hours !! So it would