views:

23

answers:

1

Does Lucene produce smaller files sizes if you index short one character Field names?

For instance, will using "d" instead of "description" produce significantly smaller indexing files on disk?

Or does it map to shorter internal IDs anyway? :)

A: 

Field names are stored in the segment index. A segment is quite large. So as expected, using shorter field names would not save much on the file size.

Amit Kumar