Take the 2-minute tour ×
English Language & Usage Stack Exchange is a question and answer site for linguists, etymologists, and serious English language enthusiasts. It's 100% free, no registration required.

A table can have one index, or it has two or more ind...?

Is it indexes or indices? I'm just asking since I've noticed that they're both used quite often. Even Wikipedia seems to support both variants, although it prefers to use indexes.

Simply put: Which plural is the preferred one?

share|improve this question
4  
This page makes a clear distinction: "The plural of the noun index should always be indices. This handily distinguishes it from the present tense of the verb index, which can only be indexes." -federalist.wordpress.com/2006/09/28/grammar-indexes-vs-indices –  Chris Ballance Jun 16 '09 at 13:09
1  
Well, that makes sense. Indexes if it's a verb, Indices if it's a noun. –  Wim ten Brink Jun 16 '09 at 13:11
4  
Since English is not my native language, I find the checked answer (explaining about plural and noun) just the right answer, so I don't want to uncheck it. Even though both spellings are correct, it's just a good explanation to customers if they ever wonder why I talk about "indices" instead of "indexes". –  Wim ten Brink Jun 17 '09 at 7:49
2  
@nohat: it's unfortunate that you merged the other question into this one. This one has a bunch of highly-upvoted answers that are not really correct, and the correct answers to the "native" question are lost in the mix. See the meta question about this. –  Marthaª Mar 14 '12 at 13:47
1  
@nohat: ah, I see. Stupid undo, it's only ever available when you don't really need it. (I still want an undo that would apply immediately after I drop my favorite porcelain bowl.) –  Marthaª Mar 14 '12 at 16:43
show 6 more comments

migrated from stackoverflow.com Mar 13 '12 at 23:30

This question came from our site for professional and enthusiast programmers.

6 Answers

From Oxford Dictionaries:

plural of index: indexes or especially in technical use indices

The plural of index is usually spelled indexes, but can also be spelled indices (as in the original Latin) in subjects like science and medicine.

So, technically I'd use indices.

share|improve this answer
3  
I like how it specifically mentions technical use. Thanks for the answer. –  Jeremy Sep 16 '10 at 21:23
2  
I'm not clear why the jump from "can also be spelled" (which is odd since this is not simply a spelling difference but an actual difference in the word used) to actually preferring "indices". The quote doesn't justify it or even say it is more prevalent. –  delete Sep 16 '10 at 22:36
11  
I was taught that books have indexes while maths has indices (similarly, people have appendixes while books have appendices). –  TRiG Apr 13 '11 at 23:29
2  
A process that indexes creates indices. The result of that process is an index for each item touched by that process. –  JustinC Jun 11 '13 at 8:08
add comment

Both are valid English; that is why you see both used. One person may be used to the other, while the guy down the hall says it the other way. See dictionary.com if you haven't already.

share|improve this answer
    
Also in the Oxford Dictionary of English, something like "plural: "indexes" or "indices" (especially in technical writing)". –  Richard Jun 16 '09 at 13:24
3  
But I live by myself. –  JoeCool Jun 16 '09 at 13:26
add comment

I happen to prefer "indices" but I was wondering if one was generally preferred over the other.

Who are you writing for? That should be the first consideration. For example, opening the Oxford Writers' Dictionary, I find that it tells me to use the plural "indexes". So if you're writing for Oxford University Press you'd better use "indexes". If you're writing only to please yourself you can use whatever plural you like, so in theory you could be like those people who write "unixen" and say "indexen" I suppose, although that might make your writing less popular.

I think "indices" is common enough that it doesn't come across as at all an eccentric choice.

share|improve this answer
    
This will mostly be used in source code comments or in the code itself. So only other programmers would read it. –  Jeremy Sep 16 '10 at 21:24
    
@Jeremy: in that case, does it help or hurt that a text search for "index" will find "indexes" but miss "indices"? –  Mr. Shiny and New 安宇 Sep 17 '10 at 15:09
    
@Mr. Shiny and New: You make a good point there. Searching for "index" will not find "indicies". However, I am not going to use improper English just to improve searching. I'm not saying that "indices" is improper. But, for example, if I have an object called "mouse", and I want to refer to a group of them, I am going to call the group "mice", not "mouses". –  Jeremy Sep 22 '10 at 12:55
    
@Jeremy: Agree that you should write "mice". But if there was disagreement about which form is best, (and indexes is certainly widely used) and the more useful one should be used, I'd say. –  Mr. Shiny and New 安宇 Sep 22 '10 at 13:17
1  
add comment

Good question.

I generally feel that "indices" is more correct, but "indexes" more common. So when not trying to be extra highbrow, I uses "indexes".

share|improve this answer
add comment

Both are valid. I prefer indexes, as it easily convey the meaning.

share|improve this answer
add comment

One isn't more correct than the other. We speak English, not Latin.

However, if you restrict it to databases, I think the more common spelling is indexes, and Google supports me on this.

share|improve this answer
3  
googlefight.com/…; –  Nosredna Jun 16 '09 at 13:24
    
Well quite; but array indices and database indexes are different beasts. I would probably use "array indices", but on the other hand, I would also say "Oracle indexes". –  Simon Nickerson Jun 16 '09 at 13:48
1  
Why are array indices and database indexes different beasts? They are both plurals of "index", no? –  Lynn Mar 15 '12 at 2:19
add comment

protected by RegDwigнt Mar 14 '12 at 17:39

Thank you for your interest in this question. Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.