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

Create Rest Service to Show Terms and Refactor Terms #83

Closed
mdavis95 opened this issue Apr 15, 2016 · 2 comments
Closed

Create Rest Service to Show Terms and Refactor Terms #83

mdavis95 opened this issue Apr 15, 2016 · 2 comments
Assignees
Milestone

Comments

@mdavis95
Copy link
Member

No description provided.

@mdavis95 mdavis95 self-assigned this Apr 15, 2016
@mdavis95 mdavis95 added this to the 0.50 milestone Apr 15, 2016
@mdavis95 mdavis95 changed the title Create Rest Service to Show Terms Create Rest Service to Show Terms and Refactor Terms Apr 17, 2016
@mdavis95
Copy link
Member Author

  • Added term frequency in addition to document frequency of terms
  • Added rest service for terms
  • Added end term as option for terms service

@mdavis95
Copy link
Member Author

Sample rest call

http://localhost:32192/terms?index=someIndex&fl=title&minDocFreq=6000&startTerm=cell&endTerm=disease&pretty=true

Sample Output

{
  "index":"someIndex",
  "field":"title",
  "terms":[
    {
      "term":"cell",
      "docFreq":11427,
      "termFreq":11820
    },
    {
      "term":"cells",
      "docFreq":7941,
      "termFreq":7980
    },
    {
      "term":"clinical",
      "docFreq":6268,
      "termFreq":6290
    },
    {
      "term":"control",
      "docFreq":7537,
      "termFreq":7540
    },
    {
      "term":"development",
      "docFreq":8251,
      "termFreq":8254
    }
  ]
}

mdavis95 added a commit that referenced this issue Apr 17, 2016
mdavis95 added a commit that referenced this issue Apr 18, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant