From c2419ebe8190783bb3f4ad914d6ff912d5f73444 Mon Sep 17 00:00:00 2001 From: Luca Favatella Date: Wed, 30 Nov 2016 16:09:35 +0000 Subject: [PATCH] Review field for full-text search in default schema In 2013, [usage] of `text` field was deleted. In 2014, `text` stopped to be [default] field and [comment] on aim of `text` field was deleted. Hence only the definition of field `text` was left. [usage]: https://github.com/basho/yokozuna/commit/5ed36bb7bd64f4e17387bcd84621a63f0aae4ef9#diff-a5640d83f118f6b45ab6c388a89507dcL258 [default]: https://github.com/basho/yokozuna/commit/7e106dc114c87f4569800911f3fb410a8ed92664#diff-a54ecf58f2bd4054b393a8c7b4cbc782L540 [comment]: https://github.com/basho/yokozuna/commit/5d813cc42215671240a0e0f43a208841dd65e05d#diff-a5640d83f118f6b45ab6c388a89507dcL26 This change reviews field `text` in the following way: * Comment field definition, alongside commented sample intended usage; * Rename field to `_text_` as apparent upstream [preference]. [preference]: https://github.com/apache/lucene-solr/commit/a4be57c1a11b7fc3e1988cb688fdfa949a3f5884 Note: * Is is ok to use wildcard as source i.e. [` - + @@ -137,6 +137,10 @@ _yz_id + + +