solr query

2018-03-13 Thread Albert Lee
Dear Solr, I want to whether solr support query by this year or this month? If can, how to do that. Thanks. Regards, Albert

Re: How to store files larger than zNode limit

2018-03-13 Thread Roopa ML
Thank you, this is clear Regards Roopa Sent from my iPhone > On Mar 13, 2018, at 6:35 PM, Markus Jelsma wrote: > > Hi - configure it for all servers that connect to ZK and need jute.maxbuffer > to be high, and ZK itself of course. > > So if your Solr cluster

Re: Scoping SolrCloud setup

2018-03-13 Thread Greg Roodt
A single shard is much simpler conceptually and also cheaper to query. I would say that even your 1.2M collection can be a single shard. I'm running a single shard setup 4X that size. You can still have replicas of this shard for redundancy / availability purposes. I'm not an expert, but I think

Scoping SolrCloud setup

2018-03-13 Thread Scott Prentice
We're in the process of moving from 12 single-core collections (non-cloud Solr) on 3 VMs to a SolrCloud setup. Our collections aren't huge, ranging in size from 50K to 150K documents with one at 1.2M docs. Our max query frequency is rather low .. probably no more than 10-20/min. We do update

Re: Navigation/Paging

2018-03-13 Thread Shawn Heisey
On 3/13/2018 10:26 AM, Sebastian Riemer wrote: > However, now we want to introduce a similar navigation in our detail views, > where only ever one document is displayed. Again, the navigation bar looks > like this: > > << First < Prev 1 - 15 of 62181 Next >

RE: How to store files larger than zNode limit

2018-03-13 Thread Markus Jelsma
Hi - configure it for all servers that connect to ZK and need jute.maxbuffer to be high, and ZK itself of course. So if your Solr cluster needs a large buffer, your Solr's environment variables need to match that of ZK. If you simultaneously use ZK for a Hadoop cluster, but don't need that

Re: How to store files larger than zNode limit

2018-03-13 Thread Roopa ML
The documentation has: If this option is changed, the system property must be set on all servers and clients otherwise problems will arise Other than Zookeeper java property what are the other places this should be set? Thank you Roopa Sent from my iPhone > On Mar 13, 2018, at 5:56 PM, Markus

RE: How to store files larger than zNode limit

2018-03-13 Thread Markus Jelsma
Hi - For now, the only option is to allow larger blobs via jute.maxbuffer (whatever jute means). Despite ZK being designed for kb sized blobs, Solr demands us to abuse it. I think there was a ticket for compression support, but that only stretches the limit. We are running ZK with 16 MB for

RE: Solr search engine configuration

2018-03-13 Thread PeterKerk
Thanks, will look into all that :-) -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

How to store files larger than zNode limit

2018-03-13 Thread Atita Arora
Hi , I have a use case supporting multiple clients and multiple languages in a single application. So , In order to improve the language support, we want to leverage the Solr dictionary (userdict.txt) files as large as 10MB. I understand that ZooKeeper's default zNode file size limit is 1MB. I'm

Re: Why are cursor mark queries recommended over regular start, rows combination?

2018-03-13 Thread Chris Hostetter
: > 3) Lastly, it is not clear the role of export handler. It seems that the : > export handler would also have to do exactly the same kind of thing as : > start=0 and rows=1000,000. And that again means bad performance. : <3> First, streaming requests can only return docValues="true" :

Re: Navigation/Paging

2018-03-13 Thread Rick Leir
Sebastien Can you not just handle this in your Javascript? Your request will always get 15 rows, start=0 then start=15 and so on. In the details view you only show one of the documents of course, and when the user is viewing the last of 15 and clicks next, you will request the next 15. When

RE: Solr search engine configuration

2018-03-13 Thread Markus Jelsma
Hi - In that case you need the KeywordRepeat and RemoveDuplicates filters as well, i'd suggest reading their Javadocs. With the docs and the analysis GUI, you can probably figure out their respective place in the tokenizer chain yourself. Trusting on IDF is not really a fine controlled

Re: SynonymGraphFilterFactory with WordDelimiterGraphFilterFactory usage

2018-03-13 Thread Jay Potharaju
I am upgrading to solr 6.6.3 and one of my fields uses text_en_splitting. Are there any recommendations on how to adjust the fieldtype definition for these fields. Thanks Thanks Jay Potharaju On Wed, Feb 7, 2018 at 5:09 AM, Steve Rowe wrote: > Thanks Webster, > > I created

RE: Solr search engine configuration

2018-03-13 Thread PeterKerk
Cool, will do some more digging around in the analysis GUI first. One last thing then on this comment of yours: "Does the decompounder support emitting the compound word as well? If so, enable it. It should help scoring compounds higher via IDF as they are less common." So I checked the Javadoc:

Re: Continuing Saga of Authorization on 6.6.0

2018-03-13 Thread Shawn Heisey
On 3/13/2018 12:00 PM, Terry Steichen wrote: > So, Shawn, every time zookeeper gets shut down (intentionally or > otherwise), I have to recreate the credentials and permissions via a set > of API calls?  Is there some way to have it save and read that stuff > from disk? If your ZK ensemble

RE: Solr search engine configuration

2018-03-13 Thread Markus Jelsma
Inline, cheers. -Original message- > From:PeterKerk > Sent: Tuesday 13th March 2018 18:53 > To: solr-user@lucene.apache.org > Subject: RE: Solr search engine configuration > > You must stay in the Javadoc section, there the examples are good, or the > reference

Re: Continuing Saga of Authorization on 6.6.0

2018-03-13 Thread spoonerk
I wish unsubscribe worked On Mar 13, 2018 9:47 AM, "Terry Steichen" wrote: > I switched solr from standalone to cloud and created the two collections > (emails1 and emails2). > > I was able to create a basic set of credentials via the curl-based > API's. I could create

Re: Continuing Saga of Authorization on 6.6.0

2018-03-13 Thread Terry Steichen
So, Shawn, every time zookeeper gets shut down (intentionally or otherwise), I have to recreate the credentials and permissions via a set of API calls?  Is there some way to have it save and read that stuff from disk? Terry On 03/13/2018 01:51 PM, Shawn Heisey wrote: > On 3/13/2018 11:25 AM,

Re: Continuing Saga of Authorization on 6.6.0

2018-03-13 Thread Chris Ulicny
You can see the security.json file in the admin console if you go to the Cloud tab, and then select Tree. It should be visible there without having to navigate directly into zookeeper. Best, Chris On Tue, Mar 13, 2018 at 1:26 PM Terry Steichen wrote: > Chris, many, many

RE: Solr search engine configuration

2018-03-13 Thread PeterKerk
You must stay in the Javadoc section, there the examples are good, or the reference guide: https://lucene.apache.org/core/6_5_0/analyzers-common/org/apache/lucene/analysis/compound/HyphenationCompoundWordTokenFilterFactory.html

Re: Continuing Saga of Authorization on 6.6.0

2018-03-13 Thread Shawn Heisey
On 3/13/2018 11:25 AM, Terry Steichen wrote: > What also puzzles me is that I can't find any "security.json" file.  > Clearly, solr is persistently keeping track of the > authentication/authorization information, but I don't see where.  I > suppose it might be kept in zookeeper (which perhaps

Re: Continuing Saga of Authorization on 6.6.0

2018-03-13 Thread Terry Steichen
Chris, many, many thanks.  From a quick check, those changes seem to work.  I think I'm getting too old to differentiate between brackets and curly braces.  I'll get back on track and see if I can (finally) set this up right.  What also puzzles me is that I can't find any "security.json" file. 

Re: Continuing Saga of Authorization on 6.6.0

2018-03-13 Thread Chris Ulicny
> *failed to delete a user:* "delete-user" is expecting an array of users in the json, so the data should be: {"delete-user": ["lanny"]} > *failed to set a permission: * There are separate endpoints for authorization and authentication. You should use ".../solr/admin/authorization" for the

Continuing Saga of Authorization on 6.6.0

2018-03-13 Thread Terry Steichen
I switched solr from standalone to cloud and created the two collections (emails1 and emails2).  I was able to create a basic set of credentials via the curl-based API's.  I could create users, and toggle the blockUnknown property status. However, the system refused to allow me to delete a user,

Boosting with 0 factor

2018-03-13 Thread Dariusz Wojtas
Hi, I have a question about boosting queries with ^0 I am using LTR. In the 1st step I want to narrow the query, but limit 'noise' results as much as possible. The 1st step is defined as follows: {!edismax qf='keyword_id^10 keyword_nonid^2 keyword_lastNames^2 keyword_names^1'

Navigation/Paging

2018-03-13 Thread Sebastian Riemer
Hi, In our web app, when displaying result lists from solr, we've successfully introduced paging via the params 'start' and 'rows' and it's working quite well. Our navigation in list screens look like this: << First < Prev 1 - 15 of 62181 Next

LatLonPointSpatialField

2018-03-13 Thread Chris Ulicny
Hi all, I'm currently migrating a 4.9.0 solr standalone index to 7.2.1 cloud. In the schema, I've replaced the old LatLon type with the new LatLonPointSpatialField type as below In the 4.9.0 version, we could search based on a single point passed as an fq parameter

Re: CLUSTERSTATUS API and Error loading specified collection / config in Solr 5.3.2.

2018-03-13 Thread Atita Arora
Hi Hendrik and Shalin, Really appreciate your valuable inputs on this. I looked up to the two issues that were being referred to (SOLR-8804 and SOLR-10720) and thats exactly what I'm running into. Glad they have been fixed in later versions. Thanks much , Atita On Tue, Mar 13, 2018 at 10:38

Re: Solr search engine configuration

2018-03-13 Thread Shawn Heisey
On 3/13/2018 7:24 AM, PeterKerk wrote: PVK COMMENT: But without a Stopfilter, wont stopwords be included in searches? I though that for example Google excluded these words in their algorithms? I just did a google search for "to be or not to be".  It worked flawlessly. If Google were using

RE: Solr search engine configuration

2018-03-13 Thread Markus Jelsma
-Original message- > From:PeterKerk > Sent: Tuesday 13th March 2018 14:24 > To: solr-user@lucene.apache.org > Subject: RE: Solr search engine configuration > > Markus, > > Thanks again. Ok, 1 by 1: > > StemmerOverride wants \t separated fields, that is

RE: Resend: Authorization on 6.6.0

2018-03-13 Thread Davis, Daniel (NIH/NLM) [C]
I believe that Joe needs to be given some level of access for him to be able to see the collections, and joe should always be required to give his/her/its password to access any collection. -Original Message- From: Terry Steichen [mailto:te...@net-frame.com] Sent: Monday, March 12,

Parameter expansion and functions

2018-03-13 Thread Dariusz Wojtas
Hi, I am using SOLR 7.1 I've read some time ago the article http://yonik.com/solr-query-parameter-substitution/ It's very helpful, knowing the trick with dummy parameter as a workaround in some cases is very helpful. ${dummyParam:${localVariable}} It is possible to use constructs like this in

RE: Solr search engine configuration

2018-03-13 Thread PeterKerk
Markus, Thanks again. Ok, 1 by 1: StemmerOverride wants \t separated fields, that is probably the cause of the AIooBE you get. Regarding schema definitions, each factory JavaDoc [1] has a proper example listed. I recommend putting a decompounder before a stemmer, and have an accent (or ICU)

Re: Matching Queries with Wildcards and Numbers

2018-03-13 Thread rakeshaspl
Hi tapan, please check below. *Conf:-* *Check attached image for issue:-* When i search with *ec* results are