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

Add basic JSON indexing template #586

Merged
merged 4 commits into from
Feb 9, 2024

Conversation

CarsonDavis
Copy link
Collaborator

No description provided.

@CarsonDavis CarsonDavis linked an issue Feb 6, 2024 that may be closed by this pull request
<ToBeIndexed>true</ToBeIndexed>
<Name>url_list</Name>
<Method>GET</Method>
<Source>https://sde-indexing-helper.nasa-impact.net/candidate-urls-api/solar_system_exploration/</Source>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If this is meant to be a template, should we get rid of specific values like this one?

<Root>$.results</Root>
<Description></Description>
<WaitBeforeNext></WaitBeforeNext>
<NextPageExpression>https://sde-indexing-helper.nasa-impact.net/candidate-urls-api/solar_system_exploration/?format=json&amp;page={Add(datasource.url_list.pagenumber,1)}</NextPageExpression>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This as well. But maybe we add a variable where "solar_system_exploration" is.

<Description></Description>
<WaitBeforeNext></WaitBeforeNext>
<NextPageExpression>https://sde-indexing-helper.nasa-impact.net/candidate-urls-api/solar_system_exploration/?format=json&amp;page={Add(datasource.url_list.pagenumber,1)}</NextPageExpression>
<EndPageExpression>datasource.url_list.pagenumber=132</EndPageExpression>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why 132? Is there a way to add a comment above this line?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

might need to do a little bit more work to have a reliable way of calculating the actual pagenumber

<Name>data2</Name>
<Method>GET</Method>
<Source>$.data</Source>
<Root>$.Spase</Root>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why $.Spase?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is a weird sinequa artifact. it doesn't actually appear in the admin

@code-geek code-geek changed the title add basic json indexing template Add basic JSON indexing template Feb 6, 2024
@CarsonDavis CarsonDavis merged commit c39bffe into dev Feb 9, 2024
@CarsonDavis CarsonDavis deleted the 585-create-json-connector-for-url-based-indexing branch February 9, 2024 20:08
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

Successfully merging this pull request may close these issues.

Create JSON Connector for Url-Based Indexing
2 participants