What is meta? ×
Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 127 Stack Exchange communities.

I've been using the Search box much more frequently since Nick deployed his Lucene magic. Beats the Google site: selector hassle and the results are generally good. One thing it doesn't do however is consider words in the code snippets. I do post a lot of code snippets and I'm having a tough time finding them back. I'm concerned that if I can't find them back then neither can anybody else that uses the SO search box.

Sample query: user:17034 filedrop

Does not find this highly upvoted answer. The user selector makes no difference btw, it puts a +15 answer on top.

share|improve this question
    
See also What about an upgrade to the word delimiter list for a more accurate search? (possible duplicate). –  Hendrik Vogt Sep 11 '11 at 6:36
add comment

1 Answer

The issue here is the choice of word separators. Google treats all punctuation as word separators with a few exceptions such as c++. Lucene on Stack Exchange is configured to treat . as a word component. A search for user:17034 DataFormats.FileDrop finds the answer you're after. I don't know if there's a way to configure the word separator that will satisfy everybody.

share|improve this answer
2  
Well, sure. The point I tried to make is that it is actually detectable that the common conventions no longer apply. It is a code snippet. Starkly obvious to human eyes, no doubt to a parser. –  Uphill Luge Sep 10 '11 at 22:58
add comment

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .