Created
March 18, 2014 19:59
-
-
Save darkleaf/9628213 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
_index: chess | |
_type: people | |
_id: 17 | |
en: true | |
ru: true | |
name_en: Garry | |
surname_en: Kasparov | |
biography_en: | | |
<p>\r\nBorn April 13, 1963, in Baku. Began to play chess | |
at the age of 5. Graduated from the Azerbaijan Pedagogical University of Foreign | |
Languages (1986). In 1980, became a grandmaster.</p>\r\n<p>\r\nIn 1976 and 1977, | |
won the Soviet championship for young people up to the age of 18. In 1980, won | |
at an international tournament in Baku. In 1981, split the first and second places | |
at the Soviet championship. In 1984, took part in a match for the title of world | |
champion against Anatoly Karpov, but the match was interrupted. In 1985 Kasparov | |
defeated Karpov, and defended the title of champion in revanche matches in 1986, | |
1987 and 1990. In 1993, defeated Nigel Short in a match for the title of Professional | |
Chess Association champion, and Viswanathan Anand in 1995, but in 1997 lost to | |
Vladimir Kramnik. In 1996, won a game against the IBM computer Deep Blue, but | |
lost in 1997 to the same machine. In 1999, won a game against the entire world: | |
3 million people played against him on the internet. In 2003, Kasparov tied with | |
the computer programs Deep Junior and Deep Fritz. In 2004, won the Russian championship. | |
In 2005, was victorious at the Linares supertournament and announced that his | |
career in chess had ended. In 2009, won a match in Valencia with Karpov dedicated | |
to the 25<sup>th</sup> anniversary of their contest for title of world champion. | |
Has been an active political figure since the beginning of the 1990s, now in opposition | |
to President Vladimir Putin. In 2008, tried to run for president but was not registered | |
by the Central Electoral Commission.</p>\r\n<p>\r\nKasparov is the author of | |
many books about chess. Interested in soccer, tennis, gymnastics, and swimming. </p>\r\n | |
name_ru: Гарри | |
surname_ru: Каспаров | |
biography_ru: | | |
<p>\r\nРодился 13 апреля 1963 года в Баку. В шахматы | |
начал играть в 5 лет. Окончил Азербайджанский педагогический институт иностранных | |
языков (1986). В 1980 году стал гроссмейстером.</p>\r\n<p>\r\nВ 1976 и | |
1977 годах выигрывал чемпионат СССР среди юношей до 18 лет. В 1980 году | |
выиграл международный турнир в Баку. В 1981 году поделил 1-2 места на чемпионате | |
СССР. В 1984 году участвовал в матче на звание чемпиона мира против Анатолия | |
Карпова, но матч был прерван. В 1985 году в новом матче Каспаров обыграл | |
Карпова и в 1986, 1987, 1990 годах отстаивал титул чемпиона в матчах-реваншах. | |
В 1993 году в матче за звание чемпиона по версии ПША обыграл Найджела Шорта, | |
в 1995 году — Вишванатана Ананда, но в 2000 году проиграл Владимиру | |
Крамнику. В 1996 году выиграл матч с компьютером Deep Blue корпорации IBM, | |
в 1997 году — проиграл той же машине. В 1999 году победил | |
в матче против всего мира: против него в интернете сыграли 3 млн человек. В 2003 году | |
Каспаров сыграл вничью с компьютерными программами Deep Junior и Deep Fritz. В | |
2004 году выиграл чемпионат России. В 2005 году стал победителем супертурнира | |
в Линаресе и объявил о завершении шахматной карьеры. В 2009 году в Валенсии | |
выиграл матч с Карповым, посвященный 25-летию их противостояния за звание чемпиона | |
мира. С начала 90-х годов ведет активную политическую деятельность, находится | |
в оппозиции к президенту России Владимиру Путину. В 2008 году пытался баллотироваться | |
в президенты, но не был зарегистрирован Центризбиркомом.</p>\r\n<p>\r\nКаспаров — | |
автор многочисленных книг о шахматах. Увлекается футболом, теннисом, гимнастикой | |
и плаванием. Женат, двое детей.</p>\r\n | |
title_id: 1 | |
country_id: 171 | |
state: published | |
--- | |
_index: chess | |
_type: people | |
_id: 1 | |
en: true | |
ru: true | |
name_en: Boris | |
surname_en: Gelfand | |
biography_en: | | |
<p>\r\nBorn June 24, 1968, in Minsk. Studied at the Minsk | |
Institute of Physical Culture. Learned to play chess at the age of 4. In 1989, | |
received the title of grandmaster.</p>\r\n<p>\r\nIn 1985, won the Soviet youth | |
championship. In 1988, split first and second places at the youth world championship. | |
Winner and prizewinner of numerous international tournaments. Came in from first | |
to third place at the tournament in Amsterdam in 1988 and in second place at tournaments | |
in Linares and Dortmund in 1990. In 1991, won at a tournament in Belgrade, and | |
in 1993 in tournaments in Moscow and Wijk aan Zee. In 1993, won in Biel, and in | |
1994, in Dos Hermanas; in 1996, he split first and second place at competitions | |
in Vienna and Tilburg. In 1998, Boris Gelfand emigrated to Israel. In 1998 and | |
2000, won at a tournament in Polanica-Zdrój. In 2004, won a tournament | |
in Pamplona, and in 2005 split first and third places in international tournaments | |
in Biel and the Bermudas. In 2006, came in from third to fifth place at the tournament | |
in Dortmund; in 2009, came in second at Bazna and split the third to fifth places | |
at a Grand Prix at Jermuk. Has taken part in nine Chess Olympics as part of the | |
Soviet, Belarusian, and Israeli teams. A multiple participant at tournaments for | |
claimants to the title of world champion. In 2011, Gelfand won a series of tournaments; | |
in 2012, played against the current world champion, Viswanathan Anand, but lost. | |
In 2013, he was named champion of the 8<sup>th</sup> Annual Tal Memorial Tournament, | |
took second place at the Alekhin Memorial Tournament, and tied for third place | |
at the Zurich Chess Challenge.</p>\r\n<p>\r\nAuthor of the book <em>My Most | |
Memorable Games</em>. Married, two children.</p>\r\n | |
name_ru: Борис | |
surname_ru: Гельфанд | |
biography_ru: | | |
<p>\r\n </p>\r\n<p>\r\nРодился 24 июня 1968 года | |
в Минске. Учился в Минском институте физкультуры. В шахматы научился играть в | |
четырехлетнем возрасте. В 1989 году получил титул гроссмейстера.</p>\r\n<p>\r\nВ | |
1985 году выиграл юношеский чемпионат СССР. В 1988 году поделил 1-2 | |
места на юношеском чемпионате мира. Победитель и призер многочисленных международных | |
турниров. Занял 1-3 места на турнире в Амстердаме в 1988 году, вторые места | |
на турнирах в Линаресе и Дортмунде в 1990 году. В 1991 году выиграл | |
турнир в Белграде, в 1992 году — турниры в Москве и Вейк-ан-Зее. В | |
1993 году — в Биле, в 1994 году — в Дос-Эрманасе, в 1996 году | |
на соревнованиях в Вене и Тилбурге поделил 1-2 места. В 1998 году Борис Гельфанд | |
эмигрировал в Израиль. В 1998 и 2000 годах одерживал победы на турнире в | |
Полянице Здруй. В 2004 году выиграл турнир в Памплоне, в 2005 году поделил | |
1-2 места на международных турнирах в Биле и на Бермудах. В 2006 году на | |
турнире в Дортмунде занял 3-5 места, в 2009 году в Базне стал вторым, на | |
Гран-при в Джермуке занял 2-3 места. Участвовал в девяти шахматных Олимпиадах | |
в составе сборных СССР, Белоруссии и Израиля и занимал призовые места. Неоднократный | |
участник турниров претендентов на матч за звание чемпиона мира. В 2011 году Гельфанд | |
победил в цикле турниров и в 2012 году встретился с действующим чемпионом мира | |
Вишванантаном Анандом, но проиграл. В 2013 году стал победителем Восьмого мемориала | |
Михаила Таля, был вторым на турнире памяти Александра Алехина и разделил третье | |
место на супертурнире Zurich Chess Challenge.</p>\r\n<p>\r\nАвтор книги <em>My | |
Most Memorable Games</em>. Женат, двое детей.</p>\r\n | |
title_id: 1 | |
country_id: 71 | |
state: published | |
--- | |
_index: chess | |
_type: people | |
_id: 11 | |
en: true | |
ru: true | |
name_en: Evgeny | |
surname_en: Tomashevsky | |
biography_en: | | |
<p>\r\nBorn July 1, 1987, in Saratov. Graduated with honors | |
from the Saratov State Socioeconomic University (2009), graduate student in the | |
Department of Finance. Has played chess since the age of 6. In 2005, received | |
the title of grandmaster.</p>\r\n<p>\r\nIn 2005, took part in the first championship | |
of Russia, in which Vladimir Kramnik lost. In 2006, received a bronze medal at | |
the championship of Russia. In 2007, won second place at Aeroflot Open. In 2007, | |
2008,and 2009, took part in the semifinal championship of Russia. In 2009, won | |
the individual championship of Europe. In 2010, was a winner of the world team | |
championship as part of the Russian team; in 2012, won a silver medal at the Chess | |
Olympics at Istanbul. </p>\r\n | |
name_ru: Евгений | |
surname_ru: Томашевский | |
biography_ru: | | |
<p>\r\nРодился 1 июля 1987 года в Саратове. С отличием | |
окончил Саратовский государственный социально-экономический университет (2009), | |
аспирант кафедры финансов. Занимается шахматами с 6 лет. В 2005 году | |
получил звание гроссмейстера.</p>\r\n<p>\r\nВ 2005 году участвовал в своем | |
первом чемпионате России, на котором проиграл Владимиру Крамнику. В 2006 году | |
получил бронзу на чемпионате России. В 2007 году завоевал второе место на | |
Aeroflot Open. В 2007, 2008 и 2009 годах участвовал в суперфиналах чемпионата | |
России. В 2009 году выиграл индивидуальный чемпионат Европы. В 2010 году | |
стал победителем командного чемпионата мира в составе сборной России, в 2012 году | |
в составе команды завоевал серебро на шахматной Олимпиаде в Стамбуле.</p>\r\n | |
title_id: 1 | |
country_id: 171 | |
state: published | |
--- | |
_index: chess | |
_type: people | |
_id: 12 | |
en: true | |
ru: true | |
name_en: Luke | |
surname_en: McShane | |
biography_en: | | |
<p>\r\nBorn January 7, 1984, in London. Graduated from Oxford | |
(2007). In 2000, became the youngest Englishman to have received the title of | |
grandmaster.</p>\r\n<p>\r\nIn 1992, won the world championship for boys up to | |
the age of 10. Obtained victories in numerous youth tournaments. Took part in | |
the World Chess Olympics as part of the British team in 2002, 2004, and 2010. | |
Came in fifth place at the London Chess Classic in 2009; a year thereafter, split | |
second place at the same tournament with Viswanathan Anand. In 2011, came | |
in fourth at London Chess 4,and in the same year became one of the winners at | |
the tournament at Wijk aan Zee in Group B. Came in second at the 12<sup>th</sup> | |
Individual Championship of Europe in 2011.</p>\r\n<p>\r\nHas worked as a trader | |
at Goldman Sachs since 2007.</p>\r\n | |
name_ru: Люк | |
surname_ru: Макшейн | |
biography_ru: | | |
<p>\r\nРодился 7 января 1984 года в Лондоне. Окончил | |
Оксфорд (2007). В 2000 году стал самым юным англичанином, получившим звание | |
гроссмейстера.</p>\r\n<p>\r\nВ 1992 году выиграл чемпионат мира среди мальчиков | |
до 10 лет. Одерживал победы на многочисленных молодежных турнирах. В составе | |
сборной Великобритании участвовал в шахматных Олимпиадах в 2002, 2004 и 2010 годах. | |
На London Chess Classic в 2009 году занял 5 место, спустя год на этом же | |
турнире поделил 2 место с Вишванатаном Анандом. В 2011 году занял на London | |
Chess 4 место, в том же году стал одним из победителей турнира в Вейк-ан-Зее в | |
группе B. На 12-м Индивидуальном чемпионате Европы в 2011 году занял лишь | |
24-е место.</p>\r\n<p>\r\nС 2007 года работает трейдером в Goldman Sachs.</p>\r\n | |
title_id: 1 | |
country_id: 195 | |
state: published | |
--- | |
_index: chess | |
_type: people | |
_id: 5 | |
en: true | |
ru: true | |
name_en: Teimour | |
surname_en: Radjabov | |
biography_en: | | |
<p>\r\n </p>\r\n<p>\r\nBorn March 12, 1987, in Baku. Began | |
to play chess at the age of 4. Became grandmaster at the age of 14 years and 14 | |
days.</p>\r\n<p>\r\nIn 1999, when he was 12, won a European championship in | |
the age group of up to 18. In 2001, came in second place at a tournament at Wijk | |
aan Zee in Group B. In January 2002, while still 14 years old, entered FIDE’s | |
rating of the 100 best chess players, in the 93<sup>rd</sup> position. In 2003, | |
he beat Ruslan Ponomariov at a tournament in Wijk aan Zee, Viswanathan Anand in | |
Dortmund, and Garry Kasparov in Linares. This made him the first player to have | |
beaten three world champions in a single year. In Linares, Kasparov lost as white | |
for the first time in seven years and has not lost as such since. In April2005, | |
Radjabov won a tournament in Dos Hermanas and in November in Cap d'Agde (in | |
rapid chess). In January 2007, he split first place with Levon Aronian and Veselin | |
Topalov at Wijk aan Zee. In 2008, took a rapid-chess cup (ACP Rapid Cup) in Odessa. | |
In 2012, at the Seventh Tal Memorial, he split second place with Fabiano Caruana.</p>\r\n<p>\r\nMarried. | |
Goodwill ambassador of UNICEF for Azerbaijan. </p>\r\n | |
name_ru: Теймур | |
surname_ru: Раджабов | |
biography_ru: | | |
<p>\r\nРодился 12 марта 1987 года в Баку. Играть в шахматы начал | |
в 4 года. Гроссмейстером стал в возрасте 14 лет и 14 дней.</p>\r\n<p>\r\nВ 1999 | |
году, когда ему было 12 лет, выиграл чемпионат Европы в возрастной группе до 18 | |
лет. В 2001 году занял второе место на турнире в Вейк-ан-Зее в группе В. В январе | |
2002 года, будучи еще 14-летним, попал в рейтинг 100 лучших шахматистов ФИДЕ, | |
на 93-е место. В 2003 году на турнире в Вейк-ан-Зее он обыграл Руслана Пономарева, | |
в Дортмунде — Вишванатана Ананда, а в Линаресе — Гарри Каспарова. | |
Это сделало его первым игроком, победившим трех чемпионов мира в течение одного | |
года. В Линаресе Каспаров проиграл белыми впервые за семь лет и более не проигрывал | |
этими фигурами. В апреле 2005-го Раджабов выиграл турнир в Дос-Эрманасе, в ноябре | |
2006-го — в Кап-д’Агде (по быстрым шахматам). В январе 2007 года в | |
Вейк-ан-Зее разделил первое место с Левоном Ароняном и Веселином Топаловым. В | |
2008 году взял кубок по быстрым шахматам (ACP Rapid Cup) в Одессе. В 2012 году | |
на 7-м Мемориале Таля разделил второе место с Фабиано Каруана.</p>\r\n<p>\r\nЖенат. | |
Посол доброй воли ЮНИСЕФ для Азербайджана.</p>\r\n | |
title_id: 1 | |
country_id: 4 | |
state: published | |
--- | |
_index: chess | |
_type: people | |
_id: 2 | |
en: true | |
ru: true | |
name_en: Viswanathan | |
surname_en: Anand | |
biography_en: | | |
<p>\r\nBorn December 11, 1969, in the city of Mayiladuthurai | |
in India. Graduated from Loyola College in <em>Chennai</em> with a degree of Bachelor | |
of Commerce. Began to play chess at the age of 6. In 1988, received the title | |
of grandmaster.</p>\r\n<p>\r\nIn 1984, won the Indian championship for chess | |
players younger than 15 and received a bronze medal in the world championship | |
in the same age category. In the same year, became the champion of Asia among | |
young people under the age of 19. In 1985, won the Indian championship, becoming | |
the youngest champion in the history of the competition, repeating this victory | |
in 1986.</p>\r\n<p>\r\nIn 1987, won at the world championship in the category | |
of up to 19 year. In 1988, word the tournament at Wijk aan Zee; in 1992, that | |
at in Reggio Emilia (Italy). In the mid-1990s, participated in FIDE candidate | |
matches, where he went to the quarter-final, and in Professional Chess Association | |
matches. In 1995, obtained the right to a match with Garry Kasparov for the title | |
of PCA world champion, but lost. In 1996, split first and second place in the | |
Dortmund tournament, in 1996 he won the Linares tournament, and in 2000 in Wijk | |
aan Zee. In 2000, he became WCF world champion, but as early as in 2001 yielded | |
his title. In 2003, became world rapid-chess champion. In 2007, became World Champion, | |
winning a tournament in Mexico that combined the WFC and PCA championship types. | |
In 2008, 2010, and 2012, defended his title of champion. In 2013, he took second | |
place at the Zurich Chess Challenge and the Tal Memorial Tournament and third | |
place at the Alekhin Memorial Tournament.</p>\r\n<p>\r\nSpeaks Tamil, English, | |
and Spanish. Married, has a son. Lives with his family at Collado Mediano in Spain.</p>\r\n | |
name_ru: Вишванатан | |
surname_ru: Ананд | |
biography_ru: | | |
<p>\r\nРодился 11 декабря 1969 года в городе Майиладутурай | |
в Индии. Окончил колледж Лойола в Ченнае по специальности «бизнес». | |
В шахматы начал играть в 6 лет. В 1988 году получил титул гроссмейстера.</p>\r\n<p>\r\nВ | |
1984 году выиграл чемпионат Индии среди шахматистов моложе 15 лет и | |
получил бронзу на чемпионате мира в той же возрастной категории. В том же году | |
стал чемпионом Азии среди юношей моложе 19 лет. В 1985 году выиграл | |
чемпионат Индии, став самым юным чемпионом за историю соревнований, в 1986 году | |
повторил победу. В 1987 году победил на чемпионате мира в категории до 19 | |
лет. В 1988 году выиграл турнир в Вейк-ан-Зее. В 1992 году — в Реджо-Эмилии | |
(Италия). В середине 90-х участвовал в претендентских турнирах ФИДЕ, где доходил | |
до ¼ финала и в матчах ПША. В 1995 году получил право на матч с Гарри | |
Каспаровым на титул чемпиона мира по версии ПША, но проиграл. В 1996 году | |
поделил 1-2 места на турнире в Дортмунде, в 1998 году выиграл турнир в Линнаресе, | |
в 2000 году — в Вейк-ан-Зее. В 2000 году стал чемпионом мира | |
по версии ФИДЕ, но уже в 2001 году уступил свой титул. В 2003 году стал | |
чемпионом мира по быстрым шахматам. В 2007 году стал Чемпионом мира, выиграв | |
турнир в Мехико, объединивший две версии чемпионства (по версии ФИДЕ и ПША). В | |
2008, 2010 и 2012 годах он защитил звание чемпиона. В 2013 году был вторым на | |
турнирах Zurich Chess Challenge и «Мемориал Михаила Таля», третьим | |
на турнире памяти Александра Алехина.</p>\r\n<p>\r\nВладеет тамильским, английским | |
и испанским языками. Женат, имеет сына. Вместе с семьей живет в Кольядо Медиано | |
в Испании.</p>\r\n | |
title_id: 1 | |
country_id: 72 | |
state: published | |
--- | |
_index: chess | |
_type: people | |
_id: 13 | |
en: true | |
ru: true | |
name_en: Vassily | |
surname_en: Ivanchuk | |
biography_en: | | |
<p>\r\nBorn March 18, 1969, in the town of Kopychyntsi (Ukraine). | |
Graduated from the Department of Chess of Lviv State University of Physical Culture. | |
Learned to play chess at the age of 6. In 1988, received the title of grandmaster.</p>\r\n<p>\r\nIn | |
1986, won the European youth championship. Has been victorious in numerous international | |
tournaments: in particular, at the Linares tournament in 1989, 1991, and 1995; | |
in Wijk aan Zee (1996); in Amsterdam (1996); and Monaco (1998). During his career, | |
has participated 12 times in the Chess Olympics: in 1988 and 1990, was a gold | |
medalist in the Soviet team and received a silver medal in 1998 and 2000 and a | |
bronze in 1996 as part of the Ukrainian team. A finalist in the FIDE world championship | |
in 2001-2002. In 2004, won the championship of Europe in rapid chess. In 2005, | |
was the winner of the Capablanca Memorial in Havana. In 2007, won the world championship | |
in blitz chess. In 2010, Ivanchuk received a gold medal as part of the Ukrainian | |
team at the 39<sup>th</sup> Chess Olympics. In 2012, won at the Capablanca Memorial.</p>\r\n<p>\r\nWas | |
married to the chess player Alisa Gallyamova. Is raising a son. </p>\r\n | |
name_ru: Василий | |
surname_ru: Иванчук | |
biography_ru: | | |
<p>\r\nРодился 18 марта 1969 в городе Копычинцы (Украина). | |
Окончил шахматный факультет Львовского института физкультуры. В шахматы научился | |
играть в 6 лет. В 1988 году получил звание гроссмейстера.</p>\r\n<p>\r\nВ | |
1986 году выиграл чемпионат Европы среди юношей. Побеждал в многочисленных | |
международных турнирах: в частности, в 1989, 1991 и 1995 годах на турнире | |
в Линаресе, в Вейк-ан-Зее (1996), Амстердаме (1996), Монако (1998). За время карьеры | |
12 раз участвовал в шахматных Олимпиадах: в 1988 и 1990 годах становился | |
золотым медалистом в составе сборной СССР, в составе сборной Украины получал серебро | |
в 1998 и 2000 годах, бронзу — в 1996 году. Финалист чемпионата | |
мира ФИДЕ 2001-2002 года. В 2004 году выиграл чемпионат Европы по быстрым | |
шахматам. В 2005 году стал победителем Мемориала Капабланки в Гаване. В 2007 году | |
выиграл чемпионат мира по блицу. В 2010 году Иванчук получил золото в составе | |
сборной Украины на 39-й шахматной Олимпиаде. В 2012 году победил на мемориале | |
Капабланки.</p>\r\n<p>\r\nБыл женат на шахматистке Алисе Галлямовой. Воспитывает | |
сына.</p>\r\n | |
title_id: 1 | |
country_id: 217 | |
state: new |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
people: | |
properties: | |
name_ru: | |
# old style=((( | |
# http://www.elasticsearch.org/ | |
# guide/en/elasticsearch/reference/current/_multi_fields.html | |
type: multi_field | |
fields: | |
analyzed: | |
type: string | |
analyzer: russian | |
raw: | |
type: string | |
index: not_analyzed | |
name_en: | |
type: string | |
analyzer: english | |
surname_ru: | |
# old style=((( | |
type: multi_field | |
fields: | |
analyzed: | |
type: string | |
analyzer: russian | |
raw: | |
type: string | |
index: not_analyzed | |
surname_en: | |
type: string | |
analyzer: english | |
biography_ru: | |
type: string | |
analyzer: russian | |
biography_en: | |
type: string | |
analyzer: english |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
export ELASTICSEARCH_ENDPOINT="http://localhost:9200" | |
# Create indexes | |
curl -XPUT "$ELASTICSEARCH_ENDPOINT/chess" -d '{ | |
"mappings": { | |
"people": { | |
"properties": { | |
"name_ru": { | |
"type": "multi_field", | |
"fields": { | |
"analyzed": { | |
"type": "string", | |
"analyzer": "russian" | |
}, | |
"raw": { | |
"type": "string", | |
"index": "not_analyzed" | |
} | |
} | |
}, | |
"name_en": { | |
"type": "string", | |
"analyzer": "english" | |
}, | |
"surname_ru": { | |
"type": "multi_field", | |
"fields": { | |
"analyzed": { | |
"type": "string", | |
"analyzer": "russian" | |
}, | |
"raw": { | |
"type": "string", | |
"index": "not_analyzed" | |
} | |
} | |
}, | |
"surname_en": { | |
"type": "string", | |
"analyzer": "english" | |
}, | |
"biography_ru": { | |
"type": "string", | |
"analyzer": "russian" | |
}, | |
"biography_en": { | |
"type": "string", | |
"analyzer": "english" | |
} | |
} | |
} | |
} | |
}' | |
# Index documents | |
curl -XPOST "$ELASTICSEARCH_ENDPOINT/_bulk?refresh=true" -d ' | |
{"index":{"_index":"chess","_type":"people","_id":17}} | |
{"en":true,"ru":true,"name_en":"Garry","surname_en":"Kasparov","biography_en":"<p>\\r\\nBorn April 13, 1963, in Baku. Began to play chess\nat the age of 5. Graduated from the Azerbaijan Pedagogical University of Foreign\nLanguages (1986). In 1980, became a grandmaster.</p>\\r\\n<p>\\r\\nIn 1976 and 1977,\nwon the Soviet championship for young people up to the age of 18. In 1980, won\nat an international tournament in Baku. In 1981, split the first and second places\nat the Soviet championship. In 1984, took part in a match for the title of world\nchampion against Anatoly Karpov, but the match was interrupted. In 1985 Kasparov\ndefeated Karpov, and defended the title of champion in revanche matches in 1986,\n1987 and 1990. In 1993, defeated Nigel Short in a match for the title of Professional\nChess Association champion, and Viswanathan Anand in 1995, but in 1997 lost to\nVladimir Kramnik. In 1996, won a game against the IBM computer Deep Blue, but\nlost in 1997 to the same machine. In 1999, won a game against the entire world:\n3 million people played against him on the internet. In 2003, Kasparov tied with\nthe computer programs Deep Junior and Deep Fritz. In 2004, won the Russian championship.\nIn 2005, was victorious at the Linares supertournament and announced that his\ncareer in chess had ended. In 2009, won a match in Valencia with Karpov dedicated\nto the 25<sup>th</sup> anniversary of their contest for title of world champion.\nHas been an active political figure since the beginning of the 1990s, now in opposition\nto President Vladimir Putin. In 2008, tried to run for president but was not registered\nby the Central Electoral Commission.</p>\\r\\n<p>\\r\\nKasparov is the author of\nmany books about chess. Interested in soccer, tennis, gymnastics, and swimming. </p>\\r\\n\n","name_ru":"Гарри","surname_ru":"Каспаров","biography_ru":"<p>\\r\\nРодился 13 апреля 1963 года в Баку. В шахматы\nначал играть в 5 лет. Окончил Азербайджанский педагогический институт иностранных\nязыков (1986). В 1980 году стал гроссмейстером.</p>\\r\\n<p>\\r\\nВ 1976 и\n1977 годах выигрывал чемпионат СССР среди юношей до 18 лет. В 1980 году\nвыиграл международный турнир в Баку. В 1981 году поделил 1-2 места на чемпионате\nСССР. В 1984 году участвовал в матче на звание чемпиона мира против Анатолия\nКарпова, но матч был прерван. В 1985 году в новом матче Каспаров обыграл\nКарпова и в 1986, 1987, 1990 годах отстаивал титул чемпиона в матчах-реваншах.\nВ 1993 году в матче за звание чемпиона по версии ПША обыграл Найджела Шорта,\nв 1995 году — Вишванатана Ананда, но в 2000 году проиграл Владимиру\nКрамнику. В 1996 году выиграл матч с компьютером Deep Blue корпорации IBM,\nв 1997 году — проиграл той же машине. В 1999 году победил\nв матче против всего мира: против него в интернете сыграли 3 млн человек. В 2003 году\nКаспаров сыграл вничью с компьютерными программами Deep Junior и Deep Fritz. В\n2004 году выиграл чемпионат России. В 2005 году стал победителем супертурнира\nв Линаресе и объявил о завершении шахматной карьеры. В 2009 году в Валенсии\nвыиграл матч с Карповым, посвященный 25-летию их противостояния за звание чемпиона\nмира. С начала 90-х годов ведет активную политическую деятельность, находится\nв оппозиции к президенту России Владимиру Путину. В 2008 году пытался баллотироваться\nв президенты, но не был зарегистрирован Центризбиркомом.</p>\\r\\n<p>\\r\\nКаспаров —\nавтор многочисленных книг о шахматах. Увлекается футболом, теннисом, гимнастикой\nи плаванием. Женат, двое детей.</p>\\r\\n\n","title_id":1,"country_id":171,"state":"published"} | |
{"index":{"_index":"chess","_type":"people","_id":1}} | |
{"en":true,"ru":true,"name_en":"Boris","surname_en":"Gelfand","biography_en":"<p>\\r\\nBorn June 24, 1968, in Minsk. Studied at the Minsk\nInstitute of Physical Culture. Learned to play chess at the age of 4. In 1989,\nreceived the title of grandmaster.</p>\\r\\n<p>\\r\\nIn 1985, won the Soviet youth\nchampionship. In 1988, split first and second places at the youth world championship.\nWinner and prizewinner of numerous international tournaments. Came in from first\nto third place at the tournament in Amsterdam in 1988 and in second place at tournaments\nin Linares and Dortmund in 1990. In 1991, won at a tournament in Belgrade, and\nin 1993 in tournaments in Moscow and Wijk aan Zee. In 1993, won in Biel, and in\n1994, in Dos Hermanas; in 1996, he split first and second place at competitions\nin Vienna and Tilburg. In 1998, Boris Gelfand emigrated to Israel. In 1998 and\n2000, won at a tournament in Polanica-Zdrój. In 2004, won a tournament\nin Pamplona, and in 2005 split first and third places in international tournaments\nin Biel and the Bermudas. In 2006, came in from third to fifth place at the tournament\nin Dortmund; in 2009, came in second at Bazna and split the third to fifth places\nat a Grand Prix at Jermuk. Has taken part in nine Chess Olympics as part of the\nSoviet, Belarusian, and Israeli teams. A multiple participant at tournaments for\nclaimants to the title of world champion. In 2011, Gelfand won a series of tournaments;\nin 2012, played against the current world champion, Viswanathan Anand, but lost.\nIn 2013, he was named champion of the 8<sup>th</sup> Annual Tal Memorial Tournament,\ntook second place at the Alekhin Memorial Tournament, and tied for third place\nat the Zurich Chess Challenge.</p>\\r\\n<p>\\r\\nAuthor of the book <em>My Most\nMemorable Games</em>. Married, two children.</p>\\r\\n\n","name_ru":"Борис","surname_ru":"Гельфанд","biography_ru":"<p>\\r\\n </p>\\r\\n<p>\\r\\nРодился 24 июня 1968 года\nв Минске. Учился в Минском институте физкультуры. В шахматы научился играть в\nчетырехлетнем возрасте. В 1989 году получил титул гроссмейстера.</p>\\r\\n<p>\\r\\nВ\n1985 году выиграл юношеский чемпионат СССР. В 1988 году поделил 1-2\nместа на юношеском чемпионате мира. Победитель и призер многочисленных международных\nтурниров. Занял 1-3 места на турнире в Амстердаме в 1988 году, вторые места\nна турнирах в Линаресе и Дортмунде в 1990 году. В 1991 году выиграл\nтурнир в Белграде, в 1992 году — турниры в Москве и Вейк-ан-Зее. В\n1993 году — в Биле, в 1994 году — в Дос-Эрманасе, в 1996 году\nна соревнованиях в Вене и Тилбурге поделил 1-2 места. В 1998 году Борис Гельфанд\nэмигрировал в Израиль. В 1998 и 2000 годах одерживал победы на турнире в\nПолянице Здруй. В 2004 году выиграл турнир в Памплоне, в 2005 году поделил\n1-2 места на международных турнирах в Биле и на Бермудах. В 2006 году на\nтурнире в Дортмунде занял 3-5 места, в 2009 году в Базне стал вторым, на\nГран-при в Джермуке занял 2-3 места. Участвовал в девяти шахматных Олимпиадах\nв составе сборных СССР, Белоруссии и Израиля и занимал призовые места. Неоднократный\nучастник турниров претендентов на матч за звание чемпиона мира. В 2011 году Гельфанд\nпобедил в цикле турниров и в 2012 году встретился с действующим чемпионом мира\nВишванантаном Анандом, но проиграл. В 2013 году стал победителем Восьмого мемориала\nМихаила Таля, был вторым на турнире памяти Александра Алехина и разделил третье\nместо на супертурнире Zurich Chess Challenge.</p>\\r\\n<p>\\r\\nАвтор книги <em>My\nMost Memorable Games</em>. Женат, двое детей.</p>\\r\\n\n","title_id":1,"country_id":71,"state":"published"} | |
{"index":{"_index":"chess","_type":"people","_id":11}} | |
{"en":true,"ru":true,"name_en":"Evgeny","surname_en":"Tomashevsky","biography_en":"<p>\\r\\nBorn July 1, 1987, in Saratov. Graduated with honors\nfrom the Saratov State Socioeconomic University (2009), graduate student in the\nDepartment of Finance. Has played chess since the age of 6. In 2005, received\nthe title of grandmaster.</p>\\r\\n<p>\\r\\nIn 2005, took part in the first championship\nof Russia, in which Vladimir Kramnik lost. In 2006, received a bronze medal at\nthe championship of Russia. In 2007, won second place at Aeroflot Open. In 2007,\n2008,and 2009, took part in the semifinal championship of Russia. In 2009, won\nthe individual championship of Europe. In 2010, was a winner of the world team\nchampionship as part of the Russian team; in 2012, won a silver medal at the Chess\nOlympics at Istanbul. </p>\\r\\n\n","name_ru":"Евгений","surname_ru":"Томашевский","biography_ru":"<p>\\r\\nРодился 1 июля 1987 года в Саратове. С отличием\nокончил Саратовский государственный социально-экономический университет (2009),\nаспирант кафедры финансов. Занимается шахматами с 6 лет. В 2005 году\nполучил звание гроссмейстера.</p>\\r\\n<p>\\r\\nВ 2005 году участвовал в своем\nпервом чемпионате России, на котором проиграл Владимиру Крамнику. В 2006 году\nполучил бронзу на чемпионате России. В 2007 году завоевал второе место на\nAeroflot Open. В 2007, 2008 и 2009 годах участвовал в суперфиналах чемпионата\nРоссии. В 2009 году выиграл индивидуальный чемпионат Европы. В 2010 году\nстал победителем командного чемпионата мира в составе сборной России, в 2012 году\nв составе команды завоевал серебро на шахматной Олимпиаде в Стамбуле.</p>\\r\\n\n","title_id":1,"country_id":171,"state":"published"} | |
{"index":{"_index":"chess","_type":"people","_id":12}} | |
{"en":true,"ru":true,"name_en":"Luke","surname_en":"McShane","biography_en":"<p>\\r\\nBorn January 7, 1984, in London. Graduated from Oxford\n(2007). In 2000, became the youngest Englishman to have received the title of\ngrandmaster.</p>\\r\\n<p>\\r\\nIn 1992, won the world championship for boys up to\nthe age of 10. Obtained victories in numerous youth tournaments. Took part in\nthe World Chess Olympics as part of the British team in 2002, 2004, and 2010.\nCame in fifth place at the London Chess Classic in 2009; a year thereafter, split\nsecond place at the same tournament with Viswanathan Anand. In 2011, came\nin fourth at London Chess 4,and in the same year became one of the winners at\nthe tournament at Wijk aan Zee in Group B. Came in second at the 12<sup>th</sup>\nIndividual Championship of Europe in 2011.</p>\\r\\n<p>\\r\\nHas worked as a trader\nat Goldman Sachs since 2007.</p>\\r\\n\n","name_ru":"Люк","surname_ru":"Макшейн","biography_ru":"<p>\\r\\nРодился 7 января 1984 года в Лондоне. Окончил\nОксфорд (2007). В 2000 году стал самым юным англичанином, получившим звание\nгроссмейстера.</p>\\r\\n<p>\\r\\nВ 1992 году выиграл чемпионат мира среди мальчиков\nдо 10 лет. Одерживал победы на многочисленных молодежных турнирах. В составе\nсборной Великобритании участвовал в шахматных Олимпиадах в 2002, 2004 и 2010 годах.\nНа London Chess Classic в 2009 году занял 5 место, спустя год на этом же\nтурнире поделил 2 место с Вишванатаном Анандом. В 2011 году занял на London\nChess 4 место, в том же году стал одним из победителей турнира в Вейк-ан-Зее в\nгруппе B. На 12-м Индивидуальном чемпионате Европы в 2011 году занял лишь\n24-е место.</p>\\r\\n<p>\\r\\nС 2007 года работает трейдером в Goldman Sachs.</p>\\r\\n\n","title_id":1,"country_id":195,"state":"published"} | |
{"index":{"_index":"chess","_type":"people","_id":5}} | |
{"en":true,"ru":true,"name_en":"Teimour","surname_en":"Radjabov","biography_en":"<p>\\r\\n </p>\\r\\n<p>\\r\\nBorn March 12, 1987, in Baku. Began\nto play chess at the age of 4. Became grandmaster at the age of 14 years and 14\ndays.</p>\\r\\n<p>\\r\\nIn 1999, when he was 12, won a European championship in\nthe age group of up to 18. In 2001, came in second place at a tournament at Wijk\naan Zee in Group B. In January 2002, while still 14 years old, entered FIDE’s\nrating of the 100 best chess players, in the 93<sup>rd</sup> position. In 2003,\nhe beat Ruslan Ponomariov at a tournament in Wijk aan Zee, Viswanathan Anand in\nDortmund, and Garry Kasparov in Linares. This made him the first player to have\nbeaten three world champions in a single year. In Linares, Kasparov lost as white\nfor the first time in seven years and has not lost as such since. In April2005,\nRadjabov won a tournament in Dos Hermanas and in November in Cap d'Agde (in\nrapid chess). In January 2007, he split first place with Levon Aronian and Veselin\nTopalov at Wijk aan Zee. In 2008, took a rapid-chess cup (ACP Rapid Cup) in Odessa.\nIn 2012, at the Seventh Tal Memorial, he split second place with Fabiano Caruana.</p>\\r\\n<p>\\r\\nMarried.\nGoodwill ambassador of UNICEF for Azerbaijan. </p>\\r\\n\n","name_ru":"Теймур","surname_ru":"Раджабов","biography_ru":"<p>\\r\\nРодился 12 марта 1987 года в Баку. Играть в шахматы начал\nв 4 года. Гроссмейстером стал в возрасте 14 лет и 14 дней.</p>\\r\\n<p>\\r\\nВ 1999\nгоду, когда ему было 12 лет, выиграл чемпионат Европы в возрастной группе до 18\nлет. В 2001 году занял второе место на турнире в Вейк-ан-Зее в группе В. В январе\n2002 года, будучи еще 14-летним, попал в рейтинг 100 лучших шахматистов ФИДЕ,\nна 93-е место. В 2003 году на турнире в Вейк-ан-Зее он обыграл Руслана Пономарева,\nв Дортмунде — Вишванатана Ананда, а в Линаресе — Гарри Каспарова.\nЭто сделало его первым игроком, победившим трех чемпионов мира в течение одного\nгода. В Линаресе Каспаров проиграл белыми впервые за семь лет и более не проигрывал\nэтими фигурами. В апреле 2005-го Раджабов выиграл турнир в Дос-Эрманасе, в ноябре\n2006-го — в Кап-д’Агде (по быстрым шахматам). В январе 2007 года в\nВейк-ан-Зее разделил первое место с Левоном Ароняном и Веселином Топаловым. В\n2008 году взял кубок по быстрым шахматам (ACP Rapid Cup) в Одессе. В 2012 году\nна 7-м Мемориале Таля разделил второе место с Фабиано Каруана.</p>\\r\\n<p>\\r\\nЖенат.\nПосол доброй воли ЮНИСЕФ для Азербайджана.</p>\\r\\n\n","title_id":1,"country_id":4,"state":"published"} | |
{"index":{"_index":"chess","_type":"people","_id":2}} | |
{"en":true,"ru":true,"name_en":"Viswanathan","surname_en":"Anand","biography_en":"<p>\\r\\nBorn December 11, 1969, in the city of Mayiladuthurai\nin India. Graduated from Loyola College in <em>Chennai</em> with a degree of Bachelor\nof Commerce. Began to play chess at the age of 6. In 1988, received the title\nof grandmaster.</p>\\r\\n<p>\\r\\nIn 1984, won the Indian championship for chess\nplayers younger than 15 and received a bronze medal in the world championship\nin the same age category. In the same year, became the champion of Asia among\nyoung people under the age of 19. In 1985, won the Indian championship, becoming\nthe youngest champion in the history of the competition, repeating this victory\nin 1986.</p>\\r\\n<p>\\r\\nIn 1987, won at the world championship in the category\nof up to 19 year. In 1988, word the tournament at Wijk aan Zee; in 1992, that\nat in Reggio Emilia (Italy). In the mid-1990s, participated in FIDE candidate\nmatches, where he went to the quarter-final, and in Professional Chess Association\nmatches. In 1995, obtained the right to a match with Garry Kasparov for the title\nof PCA world champion, but lost. In 1996, split first and second place in the\nDortmund tournament, in 1996 he won the Linares tournament, and in 2000 in Wijk\naan Zee. In 2000, he became WCF world champion, but as early as in 2001 yielded\nhis title. In 2003, became world rapid-chess champion. In 2007, became World Champion,\nwinning a tournament in Mexico that combined the WFC and PCA championship types.\nIn 2008, 2010, and 2012, defended his title of champion. In 2013, he took second\nplace at the Zurich Chess Challenge and the Tal Memorial Tournament and third\nplace at the Alekhin Memorial Tournament.</p>\\r\\n<p>\\r\\nSpeaks Tamil, English,\nand Spanish. Married, has a son. Lives with his family at Collado Mediano in Spain.</p>\\r\\n\n","name_ru":"Вишванатан","surname_ru":"Ананд","biography_ru":"<p>\\r\\nРодился 11 декабря 1969 года в городе Майиладутурай\nв Индии. Окончил колледж Лойола в Ченнае по специальности «бизнес».\nВ шахматы начал играть в 6 лет. В 1988 году получил титул гроссмейстера.</p>\\r\\n<p>\\r\\nВ\n1984 году выиграл чемпионат Индии среди шахматистов моложе 15 лет и\nполучил бронзу на чемпионате мира в той же возрастной категории. В том же году\nстал чемпионом Азии среди юношей моложе 19 лет. В 1985 году выиграл\nчемпионат Индии, став самым юным чемпионом за историю соревнований, в 1986 году\nповторил победу. В 1987 году победил на чемпионате мира в категории до 19\nлет. В 1988 году выиграл турнир в Вейк-ан-Зее. В 1992 году — в Реджо-Эмилии\n(Италия). В середине 90-х участвовал в претендентских турнирах ФИДЕ, где доходил\nдо ¼ финала и в матчах ПША. В 1995 году получил право на матч с Гарри\nКаспаровым на титул чемпиона мира по версии ПША, но проиграл. В 1996 году\nподелил 1-2 места на турнире в Дортмунде, в 1998 году выиграл турнир в Линнаресе,\nв 2000 году — в Вейк-ан-Зее. В 2000 году стал чемпионом мира\nпо версии ФИДЕ, но уже в 2001 году уступил свой титул. В 2003 году стал\nчемпионом мира по быстрым шахматам. В 2007 году стал Чемпионом мира, выиграв\nтурнир в Мехико, объединивший две версии чемпионства (по версии ФИДЕ и ПША). В\n2008, 2010 и 2012 годах он защитил звание чемпиона. В 2013 году был вторым на\nтурнирах Zurich Chess Challenge и «Мемориал Михаила Таля», третьим\nна турнире памяти Александра Алехина.</p>\\r\\n<p>\\r\\nВладеет тамильским, английским\nи испанским языками. Женат, имеет сына. Вместе с семьей живет в Кольядо Медиано\nв Испании.</p>\\r\\n\n","title_id":1,"country_id":72,"state":"published"} | |
{"index":{"_index":"chess","_type":"people","_id":13}} | |
{"en":true,"ru":true,"name_en":"Vassily","surname_en":"Ivanchuk","biography_en":"<p>\\r\\nBorn March 18, 1969, in the town of Kopychyntsi (Ukraine).\nGraduated from the Department of Chess of Lviv State University of Physical Culture.\nLearned to play chess at the age of 6. In 1988, received the title of grandmaster.</p>\\r\\n<p>\\r\\nIn\n1986, won the European youth championship. Has been victorious in numerous international\ntournaments: in particular, at the Linares tournament in 1989, 1991, and 1995;\nin Wijk aan Zee (1996); in Amsterdam (1996); and Monaco (1998). During his career,\nhas participated 12 times in the Chess Olympics: in 1988 and 1990, was a gold\nmedalist in the Soviet team and received a silver medal in 1998 and 2000 and a\nbronze in 1996 as part of the Ukrainian team. A finalist in the FIDE world championship\nin 2001-2002. In 2004, won the championship of Europe in rapid chess. In 2005,\nwas the winner of the Capablanca Memorial in Havana. In 2007, won the world championship\nin blitz chess. In 2010, Ivanchuk received a gold medal as part of the Ukrainian\nteam at the 39<sup>th</sup> Chess Olympics. In 2012, won at the Capablanca Memorial.</p>\\r\\n<p>\\r\\nWas\nmarried to the chess player Alisa Gallyamova. Is raising a son. </p>\\r\\n\n","name_ru":"Василий","surname_ru":"Иванчук","biography_ru":"<p>\\r\\nРодился 18 марта 1969 в городе Копычинцы (Украина).\nОкончил шахматный факультет Львовского института физкультуры. В шахматы научился\nиграть в 6 лет. В 1988 году получил звание гроссмейстера.</p>\\r\\n<p>\\r\\nВ\n1986 году выиграл чемпионат Европы среди юношей. Побеждал в многочисленных\nмеждународных турнирах: в частности, в 1989, 1991 и 1995 годах на турнире\nв Линаресе, в Вейк-ан-Зее (1996), Амстердаме (1996), Монако (1998). За время карьеры\n12 раз участвовал в шахматных Олимпиадах: в 1988 и 1990 годах становился\nзолотым медалистом в составе сборной СССР, в составе сборной Украины получал серебро\nв 1998 и 2000 годах, бронзу — в 1996 году. Финалист чемпионата\nмира ФИДЕ 2001-2002 года. В 2004 году выиграл чемпионат Европы по быстрым\nшахматам. В 2005 году стал победителем Мемориала Капабланки в Гаване. В 2007 году\nвыиграл чемпионат мира по блицу. В 2010 году Иванчук получил золото в составе\nсборной Украины на 39-й шахматной Олимпиаде. В 2012 году победил на мемориале\nКапабланки.</p>\\r\\n<p>\\r\\nБыл женат на шахматистке Алисе Галлямовой. Воспитывает\nсына.</p>\\r\\n\n","title_id":1,"country_id":217,"state":"new"} | |
' | |
# Do searches | |
curl -XPOST "$ELASTICSEARCH_ENDPOINT/_search?pretty" -d ' | |
{ | |
"size": 2, | |
"fields": [ | |
"name_ru", | |
"surname_ru" | |
], | |
"query": { | |
"match_all": {} | |
} | |
} | |
' | |
curl -XPOST "$ELASTICSEARCH_ENDPOINT/_search?pretty" -d ' | |
{ | |
"fields": [ | |
"name_ru", | |
"surname_ru" | |
], | |
"query": { | |
"match": { | |
"biography_ru": "СССР" | |
} | |
} | |
} | |
' | |
curl -XPOST "$ELASTICSEARCH_ENDPOINT/_search?pretty" -d ' | |
{ | |
"fields": [ | |
"surname_ru", | |
"name_ru" | |
], | |
"sort": { | |
"surname_ru.raw": "asc", | |
"name_ru.raw": "asc" | |
} | |
} | |
' | |
curl -XPOST "$ELASTICSEARCH_ENDPOINT/_search?pretty" -d ' | |
{ | |
"fields": [ | |
"surname_ru", | |
"name_ru" | |
], | |
"query": { | |
"constant_score": { | |
"filter": { | |
"term": { | |
"state": "new" | |
} | |
} | |
} | |
} | |
} | |
' | |
curl -XPOST "$ELASTICSEARCH_ENDPOINT/_search?pretty" -d ' | |
{ | |
"fields": [ | |
"surname_ru", | |
"name_ru" | |
], | |
"aggregations": { | |
"surname_ru": { | |
"terms": { | |
"field": "surname_ru.raw" | |
} | |
} | |
} | |
} | |
' | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Auto generated by Found's Play-tool at 2014-03-19T00:00:00+04:00 | |
version: 0 | |
title: first | |
description: "" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
size: 2 | |
fields: | |
- name_ru | |
- surname_ru | |
query: | |
match_all: {} | |
--- | |
fields: | |
- name_ru | |
- surname_ru | |
query: | |
match: | |
biography_ru: СССР | |
--- | |
fields: | |
- surname_ru | |
- name_ru | |
sort: | |
# для сортировки используется исходное значение | |
surname_ru.raw: asc | |
name_ru.raw: asc | |
--- | |
fields: | |
- surname_ru | |
- name_ru | |
query: | |
constant_score: | |
filter: | |
term: | |
state: new | |
--- | |
fields: | |
- surname_ru | |
- name_ru | |
aggregations: | |
surname_ru: | |
terms: | |
field: surname_ru.raw | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment