Questions tagged [reindex]
459 questions
2
votes
1 answer
Reindex pandas DataFrame to fill missing dates
I have daily data in the pandas DataFrame df with certain days missing (e.g. 1980-12-25 below). I would like to reindex the DataFrame to add those dates with NaN values.
date close
None
0 1980-12-12 28.75
1 …

M3RS
- 6,720
- 6
- 37
- 47
2
votes
0 answers
Use Elasticsearch to store historical data
I have an index that I would like to track a subset of elements over time. I can get most of the way to what I want with reindex.
However, I can't see a way to change the _id, and because my data is generally unchanging, this causes a problem. The…

WhensMyNextTrip
- 21
- 2
2
votes
2 answers
Reindex fail due to SearchContextMissingException
My company is using elasticsearch 2.3.4.
We have a cluster that contains 38 ES nodes, and we've been having a problem with reindexing some of our data lately...
We've reindexed before very large indexes and had no problems, but recently, when trying…

elik
- 21
- 2
2
votes
0 answers
elasticsearch 5.0 reindex api completing prematurely
I have a ~3m document (70GB) elastic index that I wish to reindex to an updated template mapping. I issue the basic reindex source -> destination REST call from kibana and it returns a task id. The designated task shows the correct number of…

user1561108
- 2,666
- 9
- 44
- 69
2
votes
1 answer
Pandas DataFrame Multiindex reindex columns not working
I have a DataFrame with a MultiIndex fopr the columns.
ipdb> actions
flow inflow outflow
action Investment Trade ExternalFee Fee
date sequence …

Justin Solms
- 695
- 1
- 6
- 14
2
votes
1 answer
expanding rows in pandas dataframe
I have the following data:
product Sales_band Hour_id sales
prod_1 HIGH 1 200
prod_1 HIGH 3 100
prod_1 HIGH 4 300
prod_1 VERY HIGH 2 100
prod_1 VERY HIGH 5 253
prod_1 VERY HIGH 6 …

Mukul
- 461
- 1
- 5
- 16
2
votes
1 answer
Reshape dataframe to have the same index as another dataframe
I have two dataframes:
dayData
power_comparison final_average_delta_power calculated_power
1 0.0 0.0 0
2 0.0 0.0 0
3…

Stacey
- 4,825
- 17
- 58
- 99
2
votes
3 answers
Is there an easier way to change the index values of a pandas dataframe?
I am taking a dataframe, breaking it into two dataframes, and then I need to change the index values so that no number is greater than the total number of rows.
Here's the code:
dataset = …

Larry Freeman
- 418
- 6
- 19
2
votes
1 answer
Elasticsearch Reindex API does not work
I am trying to use the reindex api for elasticsearch
https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-reindex.html
here is my source index
"testtype": {
"_all": {
"enabled": false
},
…

AbtPst
- 7,778
- 17
- 91
- 172
2
votes
3 answers
Elasticsearch--reindexing to the same index name
I have several old indices which I'd like to change mapping of. Now I need to transform old mapping into new ones. I've been reading on stackoverflow like
This one
This one
and this one
But I don't think they're the exact answer to my question.
Many…

JChao
- 2,178
- 5
- 35
- 65
2
votes
0 answers
Solr Reindex issue
I am using the sunspot gem for searching functionality in my project.
However, re-indexing in Solr is causing problems. When I re-index Solr on my local machine, the data is re-indexed properly but it not giving me the proper results when executing…

Rohit Lingayat
- 716
- 6
- 23
2
votes
1 answer
How scroll in elasticsearch handles continually updating data?
Here is an example with reindexing. But what if date field is updating during reindex? And after several scroll requests I need to set date inteval from date to now. How elasticsearch scroll handle this situation: it just scroll documents with old…

Cherry
- 31,309
- 66
- 224
- 364
2
votes
2 answers
Magento 1.9.1 reindex all: PHP Fatal error
During magento upgrade, when I tried to reindex all:
php shell/indexer.php --reindexall
I got following error:
PHP Fatal error: Call to a member function getProcessesCollection()
on a non-object in /shell/indexer.php on line 58

lvekua
- 196
- 5
- 17
2
votes
1 answer
PostgreSQL - REINDEX still working even after two hours
I have started REINDEX on my PostgreSQL database. It can be visible in GUI that it processed a number of tables, and then stop responding. It looks like it is still working, even after two hours. The GUI is not responsive and its last row says:…

Nash
- 1,043
- 2
- 14
- 33
2
votes
3 answers
Jquery sortable change number of element?
I am using simple Jquery sortable that user can drag and drop element, but on every element i have some number, on loading screen all numbers are in order, but what i need whabe someone reoders element to auto chnage that number according to his…

Miomir Dancevic
- 6,726
- 15
- 74
- 142