Questions tagged [buckets]
96 questions
1
vote
1 answer
Sitecore 8 Insert link to items in bucket
I am using Sitecore 8.1 and Glass mapper ORM. In page editor mode, I have a link field which can be linked to news article page. The folder structure is
News/News article. News folder is of type Bucket and article is bucketable item.
When I am…

Mohit Dharmadhikari
- 3,750
- 2
- 20
- 27
1
vote
1 answer
How can I apportion values into buckets and find which is the bucket containing a value?
This is my first question on here so please let me know if I do not follow the best practices!
I have two tables:
+---------+------------+--+
| Version | Time_Taken | |
| 1 | 10 | |
| 2 | 15 | |
| 3 | 20 …

Simon Padget
- 11
- 2
1
vote
1 answer
Hide bucket items based on role
Imagine I have the following content tree
sitecore
content
home
KB articles (bucket)
article 1 (Template 1)
article 2 (Template 1)
article 3 (Template 2)
And the following roles -
Role 1
Role 2
I have the following scenarios.
Role…

Gabbar
- 4,006
- 7
- 41
- 78
1
vote
2 answers
Allocating quantities to different buckets using SQL
I am trying to put together some SQL code that is able to distribute a certain quantity among buckets with a limited capacity for this quantity in a specific order but in separate transactions. See below for example.
I have 2 buckets, each with a…

veggie1
- 717
- 3
- 12
1
vote
1 answer
Hive - clustered by and sorted by returns unsorted result
I created a table with buckets, clustered by, and sorted by like this:
set hive.enforce.bucketing = true;
set mapred.reduce.tasks = 32;
create table my_table
(
a string
, b string
, c int
)
clustered by (a, b)…

dan_hal
- 11
- 1
1
vote
0 answers
Choosing right number of bukets in Hive table
I have text files having 16 columns (user_id,date,other_attributes......) and the size of wholes files are 200GB and the number of rows are 1800 millions+. I have created an external table (ex_raw_data) to read these data. I have an aggreagation…

user3252809
- 136
- 2
- 13
1
vote
1 answer
Make Sitecore item bucketable programmatically
I am generating a lot of sitecore content items programmatically in a tree structure. To provide an example, the structure looks something like this in content tree:
Sitecore
content
Item1
SubFolder1 (containing thousands of…

seeker
- 11
- 4
1
vote
1 answer
Changing number of replicas for an existent bucket in Couchbase?
I know is not possible with Couchbase 2.2, but is it possible to change the number of replicas on 2.5 ?
Thank you

spritkosten
- 41
- 6
1
vote
2 answers
Hashing an email (or username) to store in redis hash buckets
I am writing a node.js application that relies on redis as its main database, and user info is stored in this database.
I currently have the user data (email, password, date created, etc.) in a hash with the name as user:(incremental uid). And a key…

evan.bovie
- 270
- 2
- 13
1
vote
1 answer
Amazon web services S3 and EC2
I can set up my EC2 instances so that certain users other than myself are allowed to SSH in. Is there anyway of achieving a similar situation with S3 in giving certain users access to buckets without revealing the Access ID and Secret keys?
Thanks…

user7289
- 32,560
- 28
- 71
- 88
1
vote
1 answer
copying s3 bucket to another aws account with CarrierWave Ruby gem
I'm trying to copy some contents from a bucket to a bucket in a different aws account. I begin by loading uploader objects into a hash. Then I attempted to connect to the other bucket and save the assets using the credentials for that bucket.
…

schwabsauce
- 399
- 5
- 16
1
vote
1 answer
What's a good sorting algorithm for putting elements into containers and keeping the containers as even as possible?
So I'm actually going to use this to do some dynamic form layout generation in ExtJS4, but I think I can simplify the problem down to facilitate discussion without losing anything:
Let's say I have a list of integers that I want to place inside two…

Grekker
- 944
- 1
- 9
- 17
0
votes
0 answers
Java Bucketing of Data
I have a set of records(say 1000) residing in flat files(.txt). I need to extract them and put them in buckets. Each bucket has an upper cap of 300 records. Which means I'll need 4 buckets. I need to print them out to an excel sheet. Each time I hit…

sloggers1894
- 115
- 2
- 7
0
votes
1 answer
Aggregations and filters in Elastic - find the last hits and filter them afterwards
I'm trying to work with Elastic (5.6) and to find a way to retrieve the top documents per some category.
I have an index with the following kind of documents :
{
"@timestamp": "2018-03-22T00:31:00.004+01:00",
"statusInfo": {
…

Matthieu Borgraeve
- 93
- 11
0
votes
1 answer
How to parse the buckets key values of an ElasticSearch Aggregations query to a list of integers in C#
This is my json string returned from an ElasticSearch query:
var response =
{
"took":1,
"timed_out":false,
"_shards":
{
"total":5,
"successful":5,
"skipped":0,
"failed":0
},
"hits":
{
"total":278,
…

pdw
- 5
- 2