Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Two folder entries for the same folder #351

Closed
trorbyte opened this issue Mar 29, 2017 · 9 comments
Closed

Two folder entries for the same folder #351

trorbyte opened this issue Mar 29, 2017 · 9 comments
Labels
bug For confirmed bugs

Comments

@trorbyte
Copy link

trorbyte commented Mar 29, 2017

I'm trying to figure out how the folder entries are represented, in order that I can traverse them via a UI.

I note that two folder entries are created per folder - one relative to its parent and one relative to itself. Is this intentional or a defect?

"hits": [
      {
        "_index": "timemachine",
        "_type": "folder",
        "_id": "ae8f8f73818eb5f2298ccaf92e70b3",
        "_score": 1.3530767,
        "_source": {
          "encoded": "8083584abf261c9cf4d6f7d62e184e",
          "root": "c79170dd1de552758f2fb3f363a44327",
          "virtual": "/DVDProjects",
          "real": "DVDProjects"
        }
      },
      {
        "_index": "timemachine",
        "_type": "folder",
        "_id": "8083584abf261c9cf4d6f7d62e184e",
        "_score": 0.99057835,
        "_source": {
          "encoded": "c79170dd1de552758f2fb3f363a44327",
          "root": "c79170dd1de552758f2fb3f363a44327",
          "virtual": "/",
          "real": "DVDProjects"
        }
      }, 
@dadoonet
Copy link
Owner

Might be a bug indeed.

@dadoonet dadoonet added the bug For confirmed bugs label Mar 29, 2017
@trorbyte
Copy link
Author

I'm using 2.2 build against a 1.7.6 elastic stack

@dadoonet
Copy link
Owner

It's better if you can use the latest SNAPSHOT but I feel like this bug will still there

@trorbyte
Copy link
Author

I thought you were dropping elastic 1x support post the 2.2 build?

@dadoonet
Copy link
Owner

It's not officially supported anymore but it still works with 1.7. My commit just removed integration tests: b8d5b46

@trorbyte
Copy link
Author

ok I'll see if I get the same issue with SNAPSHOT

@trorbyte
Copy link
Author

Only one folder at present - but the job is still running

@dadoonet
Copy link
Owner

Great. Please close the issue if at the end you don't see any duplicate anymore.

@dadoonet
Copy link
Owner

dadoonet commented May 5, 2017

I'm closing but feel free to reopen or comment if this is happening again.

@dadoonet dadoonet closed this as completed May 5, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug For confirmed bugs
Projects
None yet
Development

No branches or pull requests

2 participants