Index: trunk/lucene-search-2/src/org/wikimedia/lsearch/config/IndexId.java |
— | — | @@ -15,7 +15,7 @@ |
16 | 16 | import org.wikimedia.lsearch.search.SearcherCache; |
17 | 17 | |
18 | 18 | /** |
19 | | - * Encapsulated an index ID in form db.part, e.g. entest.mainpart. |
| 19 | + * IndexId encapsulate an index ID in form db.part, e.g. entest.mainpart. |
20 | 20 | * It identifies each index part in the system. If entest is the name |
21 | 21 | * of the database, and it uses mainsplit architecture, there will be |
22 | 22 | * three IndexIds: <br/> |
— | — | @@ -30,14 +30,16 @@ |
31 | 31 | * @author rainman |
32 | 32 | * |
33 | 33 | */ |
34 | | -public class IndexId { |
| 34 | +public class IndexId |
| 35 | +{ |
35 | 36 | static org.apache.log4j.Logger log = Logger.getLogger(IndexId.class); |
| 37 | + |
36 | 38 | /** Where the index is */ |
37 | 39 | protected String indexHost; |
38 | 40 | /** Path to index on remote machine */ |
39 | 41 | protected String indexRsyncPath; |
40 | 42 | |
41 | | - /** Type (single, mainsplit, split) in string repesentation */ |
| 43 | + /** Type (single, mainsplit, split) in string representation */ |
42 | 44 | protected String typeString; |
43 | 45 | /** Parameters associated with type, e.g. number of split parts */ |
44 | 46 | protected Hashtable<String,String> typeParams; |