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

Search via ... engines need to be integrated with current anthology #50

Closed
knmnyn opened this issue Jan 11, 2018 · 10 comments
Closed

Search via ... engines need to be integrated with current anthology #50

knmnyn opened this issue Jan 11, 2018 · 10 comments
Assignees
Labels
enhancement triaged Next on the docket

Comments

@knmnyn
Copy link
Collaborator

knmnyn commented Jan 11, 2018

Suggested by Zeerak Waseem @zeerakw , @leondz and @evanmiltenburg @emilybender. See Twitter thread: https://twitter.com/evanmiltenburg/status/950367985889398790

@knmnyn knmnyn self-assigned this Jan 11, 2018
@knmnyn knmnyn added the triaged Next on the docket label Jun 27, 2018
@knmnyn
Copy link
Collaborator Author

knmnyn commented Jun 27, 2018

@jeisner also upped this issue. Now upped to urgent.

Should enable the search bar to submit to Google site:aclweb.org as well as others.

@jeisner
Copy link

jeisner commented Jun 28, 2018

One option is to configure an instance of Google Custom Search at cse.google.com.

(I just tried it out by enabling it on my own papers page: https://www.cs.jhu.edu/~jason/papers/ )

@jeisner
Copy link

jeisner commented Dec 1, 2018

If I create an instance of Google Custom Search to do this, would you be willing to put that HTML onto the Anthology home page, at least for now? (Or accept a pull request if I modified the static HTML, which may be what you were suggesting in your email to me on 2018-06-27?)

It's a very quick solution with a very high payoff ...

(Only downside is that the search box would probably be associated with my personal Google account. But I'd post my settings here, and you could make your own search box whenever you wanted and swap mine out in favor of yours.)

@CTNLP
Copy link
Collaborator

CTNLP commented Dec 3, 2018

If you were to submit a pull request with the required changes, then we should be able to get that up and running within a few days. If you just send us an HTML snipped then we could probably integrate that as well, but I cannot personally guarantee that it would be quick, since this would involve messing with the Ruby on Rails code, which I have no experience with.

@mjpost
Copy link
Member

mjpost commented Mar 23, 2019

This has been implemented in the new version of the Anthology. Thanks, all.

@mjpost mjpost closed this as completed Mar 23, 2019
@jeisner
Copy link

jeisner commented Mar 23, 2019

Awesome! I'd like to try it out, but the search box at the top of https://aclanthology.info/ doesn't seem to do full-text search yet. Am I looking in the wrong place?

(Sorry that I forgot to follow up on my suggestion in December with a pull request.)

@mjpost
Copy link
Member

mjpost commented Mar 23, 2019

Yes, go to https://aclweb.org/anthology/. The other site is the old one and will be redirecting soon (#178).

@jeisner
Copy link

jeisner commented Mar 23, 2019 via email

@mbollmann
Copy link
Member

if Google's indexing can't be changed, then I guess the implementation would be to submit the query beam search to Google and then filter the results using the author metadata.

I think that's only possible if we use Google's JSON API, so we can query and filter search results via our own custom JavaScript. Unfortunately, that costs $5/1000 queries.

There is a separate issue discussing the new search box btw: #165

@jeisner
Copy link

jeisner commented Mar 23, 2019

Thanks -- I'll move the conversation to #165.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement triaged Next on the docket
Projects
None yet
Development

No branches or pull requests

5 participants