Re: Solr Grouping, Aggregations and Custom Functions

2016-09-07 Thread Praveen Babu
Hi All, I am also new to Solr and I have gone through Solr document and tested agg using Solr- Prasto ( Parallel sql), Stream. I am getting very good response using these 2 technologies. But my worries are, unable to Group By Multivalue field which Solr standard api does but not latest version

Solr Grouping, Aggregations and Custom Functions

2016-09-07 Thread Roshni Rajagopal
Hi Solr Gurus, I have these requirements 1. Need to group data in solr on multiple fields and compute agregations like SUM (field) 2. Need to compute some custom calculations - sum(field1)/sum(field2) on the grouped data. Options Ive tried 1. Group- this does not allow to group by more

Re: Feedback on Match Query Parser (for fixing multiterm synonyms and other things)

2016-09-07 Thread Chris Hostetter
: I wanted to solicit feedback on my query parser, the match query parser ( : https://github.com/o19s/match-query-parser). It's a work in progress, so : any thoughts from the community would be welcome. : : The point of this query parser is that it's not a query parser! 2 Thoughts based purely

RE: Bad signature in 6.2.0?

2016-09-07 Thread Malcolm Allison [CASS]
[UNCLASSIFIED] Bingo! Downloaded the correct .asc and .md5 files for the tgz version and they now verify. I feel a bit dumb. Thanks a lot for the help, Malcolm. -Original Message- From: Chris Hostetter [mailto:hossman_luc...@fucit.org] Sent: Thursday, 8 September 2016 7:06 AM To:

Re: newbie question

2016-09-07 Thread John Bickerstaff
the /solr is a "chroot" -- if used, everything for solr goes into zookeeper's /solr "directory" It isn't required, but is very useful for keeping things separated. I use it to handle different Solr versions for upgrading (/solr5_4 or /solr6_2) If not used, everything you put into Zookeeper

Re: newbie question

2016-09-07 Thread Darshan Pandya
Many Thanks! I will move this to a cloudera list. On Wed, Sep 7, 2016 at 2:26 PM, Erick Erickson wrote: > Well, first off the ZK ensemble string is usually specified as > dayrhegapd016.enterprisenet.org:2181,host2:2181,host3:2181/solr > (note that the /solr is only at

Re: newbie question

2016-09-07 Thread Erick Erickson
Well, first off the ZK ensemble string is usually specified as dayrhegapd016.enterprisenet.org:2181,host2:2181,host3:2181/solr (note that the /solr is only at the end, not every node). Second, I always get confused whether the /solr is necessary or not. Again, though, the Cloudera user's list is

Re: newbie question

2016-09-07 Thread Darshan Pandya
Thank Erik, So seems like the problem is that when I upload the configs to zookeeper and then inspect zookeeper-client and ls /solr/configs it is showing to be empty. I executed the following command to upload the config solrctl --zk

Re: Bad signature in 6.2.0?

2016-09-07 Thread Chris Hostetter
: : I imported the keys and attempted to verify... : : ~# gpg --import KEYS : ~# gpg --verify solr-6.2.0.zip.asc solr-6.2.0.tgz : : But got the following error... you're attempting to verify the signature of the ZIP file against the TAR GZIP file. -Hoss http://www.lucidworks.com/

Re: newbie question

2016-09-07 Thread Erick Erickson
I'm a bit rusty on solrctl (and you might get faster/more up-to-date responses on the Cloudera lists). But to create a collection, you first need to have uploaded the configs to Zookeeper, things like schema.xml, solrconfig.xml etc. I forget what the solrctl command is, but something like

Re: newbie question

2016-09-07 Thread Darshan Pandya
Gonzalo, Thanks for responding, executed the parameters you suggested, it still shows me the same error. Sincerely, darshan On Wed, Sep 7, 2016 at 1:13 PM, Gonzalo Rodriguez < grodrig...@searchtechnologies.com> wrote: > Hi Darshan, > > It looks like you are listing the instanceDir's name twice

Re: Solr - Backup api throwing exception

2016-09-07 Thread Jan Høydahl
Hi, Backup can take time, so consider calling it asynchronously - https://cwiki.apache.org/confluence/display/solr/Collections+API#CollectionsAPI-AsynchronousCalls -- Jan Høydahl, search

RE: newbie question

2016-09-07 Thread Gonzalo Rodriguez
Hi Darshan, It looks like you are listing the instanceDir's name twice in the create collection command, it should be $ solrctl --zk host:2181/solr --solr host:8983/solr/ collection --create Catalog_search_index -s 10 -c Catalog_search_index Without the extra ". Catalog_search_index" at the

Re: Atomic Update w/ Date Copy Field

2016-09-07 Thread Todd Long
Stefan Matheis-3 wrote > To me, it sounds more like you shouldn’t have to care about such gory > details as a user - at all. > > would you mind opening a issue on JIRA Todd? Including all the details you > already provided in as well as a link to this thread, would be best. > > Depending on what

newbie question

2016-09-07 Thread Darshan Pandya
hello, I am using solr cloud with cloudera. When I try to create a collection, it fails with the following error. Any hints / answers will be helpful. $ solrctl --zk host:2181/solr instancedir --list Catalog_search_index $ solrctl --zk shot:2181/solr --solr host:8983/solr/ collection

Sorting on DateRangeField?

2016-09-07 Thread Alexandre Rafalovitch
So, I tried sorting on a DateRangeField. And I got back: "Sorting not supported on SpatialField: release_date, instead try sorting by query." Two questions: 1) Spatial is kind of super-internal info here, the message is rather confusing. 2) What's "sorting by query" in this case? Can I still

Re: Can't create collection without plugin, can't load plugin without collection

2016-09-07 Thread Chris Hostetter
Isn't the designed workflow for something like this... 1) upload a very minimal configset 2) create your collection 3) upload your plugin jar 4) use the Schema API to create the new fieldtype that uses your plugin ? : Date: Wed, 7 Sep 2016 11:07:39 -0600 : From: John Bickerstaff

AW: Wrong highlighting in stripped HTML field

2016-09-07 Thread Neumann, Dennis
Hello, can anyone confirm this behavior of the highlighter? Otherwise my Solr installation might be misconfigured or something. Or does anyone know if this is a known issue? In that case I probably should ask on the dev mailing list. Thanks and cheers, Dennis

Re: Can't create collection without plugin, can't load plugin without collection

2016-09-07 Thread John Bickerstaff
I might be on the wrong track, but this statement made me think... I can force this to work by removing the custom reference, create the collection, load the jar and then add the custom reference back in place. This is fine as a manual one-time setup, but not feasible in a scripted production

Re: Can't create collection without plugin, can't load plugin without collection

2016-09-07 Thread Erick Erickson
Well, it was worth a try ;) On Wed, Sep 7, 2016 at 9:42 AM, John Bickerstaff wrote: > Not sure if it's helpful, but I did solve a similar problem by scripting > the placement of the plugin .jar file into the appropriate directories as > part of the build process for

Re: Can't create collection without plugin, can't load plugin without collection

2016-09-07 Thread John Bickerstaff
Not sure if it's helpful, but I did solve a similar problem by scripting the placement of the plugin .jar file into the appropriate directories as part of the build process for my VMs I get that doing it through the BlobStore would be preferred, probably... But I couldn't get it to work and

Re: Can't create collection without plugin, can't load plugin without collection

2016-09-07 Thread jimtronic
Sadly, that didn't work. Without a core to hit, the /[COLLECTION]/config returns a 404 error. The best bet at this point may be for me may be one of the following: 1. Programmatically modify configoverlay.json file to add the runtime libs when I upload the config. or 2. Patch solr so that

Re: changed query parsing between 4.10.4 and 5.5.3?

2016-09-07 Thread Mikhail Khludnev
I suppose +((text:star text:trek)~2) and +(+text:star +text:trek) are equal. mm=2 is equal to +foo +bar On Wed, Sep 7, 2016 at 10:52 AM, Bernd Fehling < bernd.fehl...@uni-bielefeld.de> wrote: > Hi list, > > while going from SOLR 4.10.4 to 5.5.3 I noticed a change in query parsing. > 4.10.4

Re: Solr - Backup api throwing exception

2016-09-07 Thread Praveen Babu
Hi Jan Høydahl, I have followed your suggestion. That issue got resolved. Now I a facing another issue . Backup command getting disconnect in 180 sec. curl ' http://localhost:8983/solr/admin/collections?action=BACKUP=top_bk1=topapp=/home/ubuntu/nfs '

Re: changed query parsing between 4.10.4 and 5.5.3?

2016-09-07 Thread Bernd Fehling
It is Extended DisMax. explicit xml edismax *:* *:* AND 100% 10 text 6 fcs 6 Must be something in solr.ExtendedDismaxQParser or lucene.BooleanQuery Regards, Bernd Am 07.09.2016 um 13:22 schrieb Ahmet Arslan: > Hi, > > The

Re: changed query parsing between 4.10.4 and 5.5.3?

2016-09-07 Thread Ahmet Arslan
Hi, The tilde in the former looks interesting. I think it related to proximity search. What query parser is this? Ahmet On Wednesday, September 7, 2016 10:52 AM, Bernd Fehling wrote: Hi list, while going from SOLR 4.10.4 to 5.5.3 I noticed a change in

Re: solr query time

2016-09-07 Thread Emir Arnautovic
Hi Kshitij, Query time depends on query parameters, number of docs matched, collection size, index size on disk, resources available and caches. Number of fields per doc will results in index being bigger on disk, but assuming there are enough resources - mainly RAM for OS caches - that

solr query time

2016-09-07 Thread kshitij tyagi
Hi, I am having 120 fields in a single document and i am indexing all of them i.e. index=true and stored=true in my schema. I need to understand how that might be affecting my query time overall. what is the relation between query time with respect to indexing all fields in schema?? Regards,

changed query parsing between 4.10.4 and 5.5.3?

2016-09-07 Thread Bernd Fehling
Hi list, while going from SOLR 4.10.4 to 5.5.3 I noticed a change in query parsing. 4.10.4 text:star text:trek text:star text:trek (+((text:star text:trek)~2))/no_coord +((text:star text:trek)~2) 5.5.3 text:star text:trek text:star text:trek (+(+text:star +text:trek))/no_coord