Mercurial Hosting > luan
diff src/goodjava/lucene/queryparser/MultiFieldParser.java @ 1573:c6b50b7b958c
lucene/Web_search improvement
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Sat, 12 Dec 2020 21:01:04 -0700 |
parents | b04b8fc5f4f4 |
children |
line wrap: on
line diff
--- a/src/goodjava/lucene/queryparser/MultiFieldParser.java Thu Dec 10 20:23:45 2020 -0700 +++ b/src/goodjava/lucene/queryparser/MultiFieldParser.java Sat Dec 12 21:01:04 2020 -0700 @@ -49,7 +49,7 @@ return fp.getQuery(qp,field,query); if( allowUnspecifiedFields ) return defaultFieldParser.getQuery(qp,field,query); - throw qp.exception("unrecognized field '"+field+"'"); + throw qp.exception("undefined query field '"+field+"'"); } }