Thanks for the explanation!

How do I delete the ES index? is it just DELETE /my_index_name?

Happy New Year!

On 22 December 2017 at 19:42, Pat Ferrel <[email protected]> wrote:

> With PIO the model is managed by the user, not PIO. The input is separate
> and can be deleted without affecting the model.
>
> Each Engine handles model’s it’s own way but most use the model storage in
> pio-env. So deleting those will get rid of the model. The UR keeps the
> model in ES under the “indexName” and “typeName” in engine.json. So you
> need to delete the index if you want to stop queries from working. The UR
> maintain’s one live copy of the model and removes old ones after a new one
> is made live so there will only ever be one model (unless you have changed
> your indexName often)
>
>
> On Dec 21, 2017, at 4:58 AM, Noelia Osés Fernández <[email protected]>
> wrote:
>
> Hi all!
>
> I have executed a pio app data-delete MyApp. The command has outputted the
> following:
>
> [INFO] [HBLEvents] Removing table pio_event:events_4...
> [INFO] [App$] Removed Event Store for the app ID: 4
> [INFO] [HBLEvents] The table pio_event:events_4 doesn't exist yet.
> Creating now...
> [INFO] [App$] Initialized Event Store for the app ID: 4
>
>
> However, I executed
>
> curl -H "Content-Type: application/json" -d '
> {
> }' http://localhost:8000/queries.json
>
> after deleting the data and I still get the same results as before
> deleting the data. Why is this happening?
>
> I expected to get either an error message or an empty result like
> {"itemScores":[]}.
>
> Any help is much appreciated.
> Best regards,
> Noelia
>
>


-- 
<http://www.vicomtech.org/>

Noelia Osés Fernández, PhD
Senior Researcher | Investigadora Senior

[email protected]
+[34] 943 30 92 30
Data Intelligence for Energy and Industrial Processes | Inteligencia de
Datos para Energía y Procesos Industriales

<https://www.linkedin.com/company/vicomtech>
<https://www.youtube.com/user/VICOMTech>
<https://twitter.com/@Vicomtech_IK4>

member of:  <http://www.graphicsmedia.net/>

Legal Notice - Privacy policy <http://www.vicomtech.org/en/proteccion-datos>

Reply via email to