Mercurial Hosting > luan
comparison src/luan/modules/lucene/LuceneIndex.java @ 1347:643cf1c37723
move webserver to lib and bug fixes
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Mon, 25 Feb 2019 13:02:33 -0700 |
parents | efd1c6380f2c |
children | 709f7498a363 |
comparison
equal
deleted
inserted
replaced
1346:efd1c6380f2c | 1347:643cf1c37723 |
---|---|
576 } else | 576 } else |
577 throw new LuanException("invalid value type "+value.getClass()+"' for '"+name+"'"); | 577 throw new LuanException("invalid value type "+value.getClass()+"' for '"+name+"'"); |
578 } | 578 } |
579 | 579 |
580 private Document toLucene(LuanTable table,LuanTable boosts) throws LuanException { | 580 private Document toLucene(LuanTable table,LuanTable boosts) throws LuanException { |
581 return toLucene(table,boosts); | 581 return toLucene(table.iterable(),boosts); |
582 } | 582 } |
583 | 583 |
584 private Document toLucene(Iterable<Map.Entry> iterable,LuanTable boosts) throws LuanException { | 584 private Document toLucene(Iterable<Map.Entry> iterable,LuanTable boosts) throws LuanException { |
585 Set<String> indexed = mfp.fields.keySet(); | 585 Set<String> indexed = mfp.fields.keySet(); |
586 Document doc = new Document(); | 586 Document doc = new Document(); |