Mercurial Hosting > luan
diff src/luan/modules/lucene/Lucene.luan @ 1422:e48290f3d9fb
better quoting
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Sun, 17 Nov 2019 16:28:51 -0700 |
parents | c7f9dd062eda |
children | a076e89a2879 |
line wrap: on
line diff
--- a/src/luan/modules/lucene/Lucene.luan Sat Oct 26 22:28:46 2019 -0600 +++ b/src/luan/modules/lucene/Lucene.luan Sun Nov 17 16:28:51 2019 -0700 @@ -28,7 +28,8 @@ double = NumberFieldParser.DOUBLE } -Lucene.literal = SaneQueryParser.literal +Lucene.quote = SaneQueryParser.quote +Lucene.literal = Lucene.quote -- tmp function Lucene.index(index_dir,options) type(index_dir)=="table" or error "index_dir must be table"