store/fields: Use one MaxTermLength everywhere
One should be enough!
This commit is contained in:
@ -22,9 +22,6 @@
|
||||
|
||||
using namespace Mu;
|
||||
|
||||
// Xapian does not like terms much longer than this
|
||||
constexpr auto MaxTermLength = 240;
|
||||
|
||||
std::string
|
||||
Field::xapian_term(const std::string& s) const
|
||||
{
|
||||
|
||||
@ -30,6 +30,10 @@
|
||||
|
||||
namespace Mu {
|
||||
|
||||
// Xapian does not like terms much longer than this
|
||||
constexpr auto MaxTermLength = 240;
|
||||
// http://article.gmane.org/gmane.comp.search.xapian.general/3656 */
|
||||
|
||||
struct Field {
|
||||
/**
|
||||
* Field Ids.
|
||||
|
||||
Reference in New Issue
Block a user