Hi,
I was thinking exactly the same that Mike has suggested, keep the current search as the simple search and then add an "Advanced Search" link that through js shows more options, including search by id.
But as I was reading your comments I also had the idea of searching by id also in the simple search. It would work this way:
1) Read the search text. If it's a number search by id
2) If it's not a number or an element with that id is not found, search through lucene.
That's the strategy most search engines are following. Be smart for your common users, but for power users still provide advanced searches that allow them to specify what type of information they are providing.
Please sign in to flag this as inappropriate.