MikeMirzayanov's blog

By MikeMirzayanov, history, 8 years ago, translation, In English

Hello.

Now you do not have to go into Google if you need to search blog posts. You can do it directly on Codeforces. The implemented search is based on Apache Lucene . The index contains all open public posts, which are already more than 15,000 documents.

Temporarily search for tags are now available (tags will be added to the index soon), but instead you have the opportunity to find posts and even sort using different criteria. By the way, you can use complete syntax of Lucene queries to search. Here is a short description of main features.

You can use several words in query to find by all of them at the same time. In addition, if you are lucky search understands word forms and some synonyms. It supports search by title and author.

Some examples:

  • 305 — search for 305, most probably it will find blogs about the Round 305
  • andrew stankevich contests — search for words "andrew", "stankevich" and "contests" at the same time
  • user:mikemirzayanov title:testlib — search containing "testlib" in title by MikeMirzayanov
  • "vk cup" — use quotes to find phrase as is
  • title:educational search in title

Regarding indexing comments, solutions and problem statements I have a feeling that it may be useless. Too difficult to find something relevant (or maybe not). What do you think: should we implement it?

  • Vote: I like it
  • +319
  • Vote: I do not like it

| Write comment?
»
8 years ago, # |
Rev. 3   Vote: I like it +32 Vote: I do not like it

Hello MikeMirzayanov, I think one of the best things we could implement is a tag that should be added to all educational posts (or some other feature for storing educational posts, like with HackerEarth's Notes). Something like the CodeForces Library, if you will. The problem with searching directly for "tutorial" is that some people tag round editorials with tutorial and some people tag educational posts as "editorials". It would be really helpful to be able to know which ones have instructional content on their own as opposed to containing solutions for a round.

Thanks!

»
8 years ago, # |
  Vote: I like it +3 Vote: I do not like it

Indexing problem statements would be a good idea.

»
8 years ago, # |
  Vote: I like it 0 Vote: I do not like it

Could you please make code of some of these codeforces features open source, so that we can learn from them?

»
8 years ago, # |
  Vote: I like it +17 Vote: I do not like it

Statements should be reasonable to find in a lot of situations (you remember something of the story, the name of the character, etc) and would be pretty useful as well

»
8 years ago, # |
Rev. 2   Vote: I like it 0 Vote: I do not like it

How can I view all codeforces blogs?? I think that there should be an option or a link for this..