Questions tagged [reindex]

459 questions
0
votes
2 answers

pg_dump does not full copy of db

I have a database db1 which works very slow. It executes hard queries with joins few minutes. I created a copy of that database: db2. Then I created and tuned some indexes and that db2 began to work much faster! After that my goal was to tune db1…
goodgrief
  • 378
  • 1
  • 8
  • 23
0
votes
3 answers

How to re-index subarrays before json encoding?

This is my current JSON output: { 0: { label: 1509521006, value: 12.324711 }, 1: { label: 1509531448, value: 12.700929 } } What should I do to make my JSON output like this: [ [ 1509521006, 12.324711 ], …
noovin
  • 27
  • 4
0
votes
1 answer

How to insert/edit a column in an existing HDF5 dataset

I have a HDF5 file as seen below. I would like edit the index column and create a new timestamp index. Is there any way to do this?
thileepan
  • 619
  • 3
  • 8
  • 18
0
votes
1 answer

method does not work in reindex()

from pandas import Series, DataFrame import numpy as np frame = DataFrame(np.arange(9).reshape((3, 3)), index=['a', 'b', 'c'], columns=['A', 'B', 'C']) frame2 = frame.reindex(['a', 'b', 'c', 'd']) frame3 = frame2.reindex(method='ffill') Then the…
Jeong
  • 131
  • 4
0
votes
1 answer

Elasticsearch reindex from 2.x to 5.x

I did an upgrade of my elasticsearch instance from elasticsearch-2.x to elasticearch-5.6 . Everything seems to work fine. But before i do an upgrade to version 6, I have to reindex data. Whats does reindexing mean? I have a script that is creating…
hukachaka
  • 63
  • 1
  • 6
0
votes
1 answer

Solr : is it necessary reindexing of a collection after add of a new dynamic field in schema.xml?

I have a problem: I use (it is a constraint) solr 4.10.3 I have already a collection with a lot of documents that uses a schema.xml with static and dynamic fields. Unfortunately, in the file schema.xml there are already dynamic fileds for all types…
Fabrizio67
  • 11
  • 3
0
votes
1 answer

Frequency of Full reindex on SolrCloud

How often do I need to run full reindex on SolrCloud? It takes more than 12 hours for full reindex to run and we run it every night but is it really necessary to do it as delta runs correctly. New data comes in at the rate of 2000 documents on every…
raj247
  • 381
  • 1
  • 4
  • 21
0
votes
1 answer

magento 1.9 catalog search index cannot initialize the indexer process on localhost

Can Magento 1.9 catalog search index invoke the indexer process on local host?
0
votes
0 answers

how to solve magento2 reindexer issue

when we delete products from magento backhand after while reindexing its showing duplicate entry error like below: SELECT `cpe`.`entity_id`, `pdd`.`attribute_id`, `cs`.`store_id`, IF(pds.value_id > 0, pds.value, pdd.value) AS `value` FROM…
sangan
  • 121
  • 1
  • 7
0
votes
1 answer

Does changing from Simple Analyzer of Elastic search to Standard Analyzer requires the re-index?

I changed the simple analyzer on a field to Standard analyzer and tested it locally and it's working fine. I don't have to re-index all my documents in ES. But according to this SO post and this ES doc, looks like we need to re-index if we…
Amit
  • 30,756
  • 6
  • 57
  • 88
0
votes
2 answers

how to create a time series column and reindex in pandas?

How to create a column and reindex in pandas? I'm a new pandas learner. I have 5 rows dataframe as follow: A B C D 0 2.34 3.16 99.0 3.2 1 2.1 55.5 77.5 1 2 22.1 54 89 33 3 23 1.24 4.7 5 4 45 2.5 8.7 …
Haven Shi
  • 457
  • 5
  • 14
  • 19
0
votes
2 answers

Replacing pandas Series column values with their own indices

I have a chronologically-sorted datetime Series(note the index values on the left-hand side) 9 1971-04-10 84 1971-05-18 2 1971-07-08 53 1971-07-11 28 1971-09-12 474 1972-01-01 153 1972-01-13 13 1972-01-26 129 …
Chris T.
  • 1,699
  • 7
  • 23
  • 45
0
votes
1 answer

Reindexing using NEST V5.4 - ElasticSearch

I'm quite new to ElasticSearch. I'm trying to reindex a index in order to rename it. I'm using NEST API v5.4. I saw this example: var reindex = elasticClient.Reindex(r => r.FromIndex("customers-v1") …
NatsuDragonEye
  • 109
  • 5
  • 18
0
votes
1 answer

Reindex Pandas and insert a numpy array of zeros

I have a pandas dataframe df: Date Activity Vector 0 2017-03-01T15:20:00 [0.0366666666667, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0... 1 2017-03-01T15:25:00 [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, ... 2 2017-03-01T15:45:00…
0
votes
1 answer

Resampling or Reindexing Two Columns of Data with different frequencies

I have a dataframe which contains a Time Stamp column, and two data columns (data1 and data2). The data1 column spans the entire Time Stamp, while the data2 column stops about halfway. When I was collecting my data, both data1 and data2 collected…
Gary
  • 2,137
  • 3
  • 23
  • 41