Questions tagged [reindex]

459 questions
0
votes
0 answers

Apache Solr index upgrade from 4.7 to 5.2

We are looking to upgrade from Apache Solr 4.7 to ApacheSolr 5.2. upgraded server and run script to upgrade the data index. it is showing below errors. ./upgradeindex.sh -t 5 /home/solr Target version is 5 Downloading…
Shinu
  • 13
  • 2
0
votes
2 answers

elastic re-index date format is too short

Trying to re-index an index because the format of date field changed. The format changed from ... "start_date": { "type": "date", "format": "yyyy-MM-dd HH:mm", "fields": { "keyword": { "type": "keyword" …
piet
  • 376
  • 1
  • 5
  • 17
0
votes
2 answers

pandas dataframe NaN when reindexing with period_range

I want the code to add new rows not present in the dataframe. I'm getting NaN values when reindex-ing with period_range. I get the correct period_range but NaNs instead of preserving available values for column 'A'. Below is shown the code…
Guido
  • 634
  • 1
  • 8
  • 19
0
votes
1 answer

Dask DataFrame after Apply cannot reindex from a duplicate axis

I'am trying to change nan values of item_price to the mean value based on item_id in the following dask dataframe: all_data['item_price'] = all_data[['item_id','item_price']].groupby('item_id')['item_price'].apply(lambda x:…
mj1261829
  • 1,200
  • 3
  • 26
  • 53
0
votes
1 answer

Larger index size after Elasticsearch reindex

After performing a reindex on a 75GB index, the new one went to 79GB. Both indexes have the same doc count (54,123,676) and both have the exact same mapping. The original index has 6*2 shards and the new one has 3*2 shards. The original index also…
Ian
  • 241
  • 3
  • 16
0
votes
2 answers

How to exchange the places of the items in a python list?

A text is divided in groups with seven letters. Each group is scrambled with the key 6015423 (letter with index 0 on index 6, letter with index 1 on index 0, letter with index 2 on index 1...). Instead of the correct word "serpent" (tried it only…
0
votes
1 answer

Elasticsearch-PHP reindex not working as expected

Documentation on reindex API: https://www.elastic.co/guide/en/elasticsearch/client/php-api/6.0/ElasticsearchPHP_Endpoints.html#Elasticsearch_Clientreindex_reindex /* $params['refresh'] = (boolean) Should the effected indexes be…
Dorjee Dhondup
  • 549
  • 6
  • 15
0
votes
0 answers

Drupal 6 site re-indexing not happening

I am working on a Drupal 6 site. Facing an issue: Site Re-Indexing not working. Even if after running the cron successfully. I have already gone through google search and Drupal forums. Can somebody please guide me?
Pupil
  • 23,834
  • 6
  • 44
  • 66
0
votes
1 answer

Optimize reindexing ArrayObject

I need an optimized or custom function to update the indexes of object extends ArrayObject Example:
Kart Av1k
  • 137
  • 1
  • 6
0
votes
1 answer

How to rename index with reindex API

I'm trying to rename an index on Elasticsearch and as suggested in the accepted solution of this question I'm using the Reindex API. I'm using the following command: POST _reindex { "source": { "index": "original-index" }, "dest": { …
Drubio
  • 1,157
  • 3
  • 13
  • 30
0
votes
2 answers

Rearranging Dataframe date

How do I rearrange dates after importing a csv file, such that the most recent date is at the bottom and the oldest date is at the top? I have tried using reindex but it doesn't work. hello Nukesor, the date for example will be.. Date …
Jonathan
  • 424
  • 4
  • 14
0
votes
0 answers

Elasticsearch reindex store sizes vary greatly

I am running Elasticsearch 6.2.4. I have a program that will automatically create an index for me as well as the mappings necessary for my data. For this issue, I created an index called "landsat" but it needs to actually be named "landsat_8", so…
Bal
  • 2,027
  • 4
  • 25
  • 51
0
votes
1 answer

snap a smaller grid to a larger predefined grid using xarray

I have a code as below. So basically i have predefined a grid, and i make a loop every single small grid to this larger predefined grid. But the code stuck at the reindex part.it just using too much memory and it crushed.Is there other way i can…
alice
  • 225
  • 5
  • 14
0
votes
1 answer

In Postgres, after truncating or deleting rows, does executing reindex before pg_dump optimize pg_restore?

Do the REINDEX statements below help with the restore operation or file size of the dump? Could not find a question about this anywhere on SO or web. I'm using Postgres 9.4 and cleaning out a very large database with both truncate and delete…
akahunahi
  • 1,782
  • 23
  • 21
0
votes
1 answer

How can two time columns in a pandas DataFrame be used to label rows in a reindexed DataFrame?

I have a DataFrame that features two time columns. I want to reindex or create a new DataFrame with an index that covers the total time of those columns and I want the times in those columns to be used to label rows in the reindexed or new…
BlandCorporation
  • 1,324
  • 1
  • 15
  • 33