Compacting JSON-Output

2021-04-15 Thread Andreas Mock
Hi all, I searched around for a while now but couldn't find an answer to my problem. We want to use the JSONWriter which presents a really nice human readable output. Is there a way to force this writer to compact the JSON format as good as possible to reduce the gross size of the reply? Best re

Re: Compacting JSON-Output

2021-04-15 Thread Nicolas Franck
https://solr.apache.org/guide/6_6/response-writers.html#ResponseWriters-TheindentParameter > On 15 Apr 2021, at 09:32, Andreas Mock wrote: > > Hi all, > > I searched around for a while now but couldn't find an answer to my problem. > We want to use the JSONWriter which presents a really nice hu

Distributed search

2021-04-15 Thread Norbert Bodnar
Hi. Hope you are doing well. I would like to start with introducing the problem we are facing. Our(let's call us CompanyB working on WebB) primary goal is to create a web application, which will expand an existing web(WebA developed by CompanyA) application's searching possibilities. Let's call

AW: Compacting JSON-Output

2021-04-15 Thread Andreas Mock
Hi Frank, thank you for your fast answer. Interesting. You referred to a parameter which is documented for the XMLWriter, not for JSONWriter. But in the docs to version 6.6 one can see that it is used in the example also with JSONWriter. In the documents of the version we're trying to use (ver

Re: Compacting JSON-Output

2021-04-15 Thread Eric Pugh
Andreas, I don’t think you are missing anything, the docs just need some updating…. If you would like to create a JIRA issue and submit a pull request to update the docs for the JSONWriter, I’ll happily review and merge. Please tag me (“David Eric Pugh”) on the ticket in JIRA. Eric > On A

Re: Build Solr from Source - Failing Unit Tests in Intellij

2021-04-15 Thread Jason Gerlowski
Hi Phil, Solr has a number of tests that are flaky and fail seemingly at random. Some of this is true flakiness: bugs that only occur with certain timing behavior. Some of it is driven by the Solr Test Framework's heavy use of randomization in running test cases. ("ant test" assigns seeds for te

AW: Compacting JSON-Output

2021-04-15 Thread Andreas Mock
Hi Eric, thank you for your comment. As my learning curve for Solr itself is currently steep enough, I'm not prepared to contribute in this way. Best regards Andreas > -Ursprüngliche Nachricht- > Von: Eric Pugh > Gesendet: Donnerstag, 15. April 2021 12:44 > An: users@solr.apache.org >

Building on Mac OS X Catalina

2021-04-15 Thread Phill Campbell
Is there a guide or recommendations for building on Mac OS Catalina? Which JDK do you use? This is one of the errors I currently get running the tests. [junit4] 2> 7123 WARN (SUITE-TestCircuitBreaker-seed#[597FF1CD7ECC0E37]-worker) [ ] o.a.s.c.CoreContainer Unable to create [.../s

suggester with a multivalued payload field

2021-04-15 Thread Pratik Patel
Hey Everyone, I have a multivalued field which I am using as a payload field in a suggester. // field declaration > multiValued="true" /> // suggester component > > > insightSuggester > > >name="lookupImpl">org.apache.solr.spelling.suggest.fst.BlendedInfixLoo

Re: Building on Mac OS X Catalina

2021-04-15 Thread Shawn Heisey
On 4/15/2021 10:38 AM, Phill Campbell wrote: Is there a guide or recommendations for building on Mac OS Catalina? Which JDK do you use? This is one of the errors I currently get running the tests. [junit4] 2> 7123 WARN (SUITE-TestCircuitBreaker-seed#[597FF1CD7ECC0E37]-worker) [ ]

Re: Building on Mac OS X Catalina

2021-04-15 Thread Phill Campbell
Shawn, Thank you for responding. I have “chmod’ed” the entire directory path for every directory. [me ~/dev/mysolr/solr/core/src/test-files/solr]$ls -alh total 160 drwxrwxrwx@ 28 me COMPANY\Domain Users 896B Apr 15 10:06 . drwxrwxrwx@ 15 me COMPANY\Domain Users 480B Apr 15 09:37 .. drwxr-x

Re: Building on Mac OS X Catalina

2021-04-15 Thread Mike Drob
OpenJDK 11 is fine for building the main (9x) branch. This is probably https://issues.apache.org/jira/browse/SOLR-14084 or https://issues.apache.org/jira/browse/SOLR-15222 and happens sometimes when the test randomization includes the security policy. It's something I've been wanting to look at b

Re: Building on Mac OS X Catalina

2021-04-15 Thread Phill Campbell
Mike, I think you are on to it. I am building Solr 8.2.1 using OpenJDK openjdk version "1.8.0_282" OpenJDK Runtime Environment (build 1.8.0_282-bre_2021_01_20_16_37-b00) How is a security policy used in the ANT build? I am unfamiliar with ANT. I will gladly change something to see if it works.

Re: Building on Mac OS X Catalina

2021-04-15 Thread Phill Campbell
Sorry, meant to say 8.8.2 Solr. I read those JIRA reports, and found in common-build.xml: I set that to be false and the exception is gone from the output of the tests. > On Apr 15, 2021, at 3:44 PM, Mike Drob wrote: > > OpenJDK 11 is fine for building the main (9x) branch. > > This is p