Programing

프로그래머 친화적 인 검색 엔진?

crosscheck 2020. 7. 18. 09:17
반응형

프로그래머 친화적 인 검색 엔진? [닫은]


Google은 $ 및 #과 같은 문자가 포함 된 완전 문자열 검색에 익숙하지 않습니다. 완전 문자열 검색을 지원하는 검색 엔진이 있습니까?

나는 이 질문 에 대해 오래 전에 물어 보았지만 좋은 대답을 얻지 못했습니다. 여전히 답을 얻을 수 없으면 현상금을 넣을 준비가되었습니다. 물론 존재하지 않을 수도 있지만 확실히 확신하고 싶습니다. :)

편집 : 따옴표가 작동하지 않습니다 . Google은 인용시에도 기호를 제거합니다.

쿼리 예 : makefile의 $ <변수에 대해 make "$ <"


http://www.symbolhound.com을 시도 하십시오 .

이것은 문제를 해결하는 것 같습니다. SymbolHound는 Google과 같은 웹 쿼리에서 기호 나 특수 문자를 무시하지 않는 검색 엔진입니다. 또한 소스 코드 검색이 아닙니다. 희망이 도움이됩니다!


당신을 도울 수는 없지만 최소한 비전을 제공 할 수는 있습니다 (동일한 스타트 업이 실현할 수 있습니다).

Assieme은 소프트웨어 문서 전용 검색 엔진의 연구 프로토 타입입니다. 아이디어는 소프트웨어 문서 검색이 전문화 된 검색 엔진이 필요한 전문화 된 작업이라는 것입니다. 예를 들어, APi 문서를 검색 할 때 엔진은 블로그 게시물에서 유효한 예제를 추출하여이를 Google에 보여 주어야합니다. 등등.

전체 논문은 "프로그래머를위한 웹 검색 인터페이스에서 암시 적 참조 찾기 및 활용"을 참조하십시오.

추신 : 소프트웨어 검색에 관한 최신 연구에 관심이 있으시면 SUITE 워크숍 시리즈를 살펴보십시오 . 우리는 또한 트위터에 있습니다 :)


Yahoo BOSS 를 사용해 보셨습니까 ? Yahoo의 웹 검색을 사용할 수있는 현재 무료 (가입 필요) 인 검색 API입니다. FAQ에 설명 된대로 모든 관련 문자를 이스케이프 하면 임의의 문자열을 검색 할 수 있습니다.


http://searchco.de 는 비공개 Google 코드 검색을위한 최상의 대안입니다.

다음과 같은 검색을 수행 할 수 있습니다.

$ < http://searchco.de/?q=$%3C&cs=on

++ http://searchco.de/?q=%2B%2B&cs=on

<< http://searchco.de/?q=%3C%3C+lang%3Ac%2B%2B&cs=on

>> http://searchco.de/?q=%3E%3E&cs=on

$ PATH http://searchco.de/?q=$PATH&cs=on

"$ PATH" http://searchco.de/?q= "$PATH"& cs=on

\ n "http://searchco.de/?q=\n"&cs=on

% PATH % http://searchco.de/?q=%PATH%&cs=on

% TEMP % http://searchco.de/?q=%TEMP%&cs=on

/ root http://searchco.de/?q=/root&cs=on

C : \ http://searchco.de/?q=C:\&cs=on

\\ 127.0.0.1 http://searchco.de/?q=\\127.0.0.1&cs=on

http : // http://searchco.de/?q=http://&cs=on

코드에서 기본 검색 대신 전체 검색을 수행 할 수 있습니다 (검색 표시 줄의 확인란을 선택 취소하거나 검색 URL에서 CSS 인수 제거) : http://searchco.de/?q=test 그러나이 엔진에서 전체 검색이 완벽하지는 않습니다. 아직.

기본 POSIX 정규식을 사용할 수 있습니다. 검색 코드 엔진 http://searchco.de/?cs=on&q=/query.*/ http://searchco.de/?q=/의 기능 을 읽는 것을 잊지 마십시오 a {2,3} / http://searchco.de/?q=%2F[mn].%3Fc%2F&cs=on

프로그래밍 언어를 지정할 수 있습니다 : http://searchco.de/languages/

searchco.de 용 브라우저 플러그인은 다음과 같습니다. http://mycroft.mozdev.org/search-engines.html?name=searchco.de (기본 searchco.de를 선택 하십시오. 전체가 아님)

다른 좋은 간단한 대안은 다음과 같습니다. http://symbolhound.com


대답은 물론 Google입니다.-) 특히 Google 코드 검색 입니다. 예를 들어 요청에 대한 쿼리를 참조하십시오 ( 편집 : 링크 수정)

>>> http://www.google.com/codesearch?q= >>>

$ http://www.google.com/codesearch?q=\$

# http://www.google.com/codesearch?q=\#

편집 : 좋아, 최근 의견에서 질문까지, 나는 당신의 요점이 보입니다. 이것은 많은 사람들에게 유용 할 것입니다 (나에게있어, 내 인생에서 몇 번이나 필요할 수도 있습니다). 그러나 내가 아는 한 그렇게 할 수있는 방법이 없습니다. 포럼에서 "기호 검색"을 검색하면 이와 같은 불만 많이 있습니다.

내가 찾은 가장 가까운 것은 이것입니다. 심볼을 검색하는 것이 매우 행복합니다 (그러나 상대적으로 작은 커뮤니티 내에서만 찾으십시오) : http://perlmonks.org/

우리는 왜 그런 프로그래머 검색 엔진을 작성 하지 않습니까?


더 많은 내용이 포함되어 있으면 멋질 것입니다 .... 구체적으로 답변을 얻지는 않지만 유용하다고 생각합니다

http://start.gotapi.com/

또는

html 버전의 경우 http://www.gotapi.com/html

여기에 가서 더 많은 것을 확인할 수 있습니다.


이것은 아마도 당신이 찾고있는 대답이 아닐 수도 있지만, 나는이 문제에 대해 진정으로 동정심이 있으며,이 질문에 직면하는 이상한 무모함이 있습니다.

In this case, you already have some information about what you're looking for. You're looking for some specific part of some documentation page for make files.

here is the documentation for makefiles http://www.gnu.org/software/make/manual/make.html

Conveniently, the entire documentation is on one giant html page. In firefox, press control+f (command+f on macs), to bring up the search within page widget. In firefox's search field, type the symbol your looking for. It reports 37 matches, which you can look through indvidually.

Sometimes though, the sequence of symbols is idiomatic, and isn't in the documentation for a language. How would an outsider know, for instance that a $ in javascript usually refers to jquery, or prototype, or some other included library?

In this case, there's probably a question on stack overflow somewhere that would explain that. However, searching stackoverflow for a $ symbol doesn't work. You could just ask the question, you'll probably get an answer. (as you did in this case).

I think we should perhaps make a stackoverflow feature request? It's not a general web search, but stackoverflow is uniquely positioned to answer problems like this in a way the general web isn't.

edit: after looking around at meta.stackoverflow.com I found a request for this already exists : https://meta.stackexchange.com/questions/19870/we-need-to-be-able-to-search-for-punctuation-symbols

It would seem that if you press "ask a question" and write

What does the symbol [symbol] in [language] mean?

in the title, then move your cursor to the body, SO will suggest a bunch of questions that were already asked, that are much better results than using "search". You'll likely find the answer to any symbol related query there. And if you don't, go ahead and post your question. I'm sure there's about 10 overeager nerds that will be eager to tell you that the question has already been asked, and point you to where the duplicate questions are, and only at the cost of a few potential downvotes!

Stack Overflow should really add this feature though. It's ridiculous that it doesn't. Duplicate questions is merely the cost that Stackoverflow will have to accept for not having this feature.


The closest I've ever found is Cuil, which with your criteria gets as close as finding exact matches for "make $". Unfortunately they're for get-rich-quick sites. But it is better than Google with terms like C# and C++.


Here is what I use:

www.koders.com - It indexes several open source projects, so, if I want to know how something is done, it just find on the source code what I need. And it works really well.


The open-source search engines have much more flexible indexers than anyone else. If someone else hasn't written a tokenizer that allows for symbols, it's easy to write your own. I'd look at Solr/Lucene, Xapian, Sphinx and Ferret.

Also, no pesky Google AJAX API 64-result limit!


OK, so let me stick my 2c in and see if I can clear this up. You have, possibly, three searches to make:

  1. What is "$<" ?
  2. How can literal strings such as $foo or <<< be searched?
  3. If I don't know the name of something, and my search engine doesn't let me search for literal strings, how can I search for it?

First case is easy, it's the name of the first prerequisite that a make process needs for the target being built. See http://www.gnu.org/software/make/manual/make.html#Automatic-Variables for example.

Second case is pretty hard. Google say that with very few exceptions, punctuation is ignored (see http://www.google.com/support/websearch/bin/answer.py?answer=134479). So that rules out lots of the little atom-y things you have in code like "++" and "<<". Of course, Google do have to apply some smarts to this, e.g they do permit searching for "C++" as a unit in its own right. Though perhaps the world would be a better place if C++ just disappeared from the Internet :)

Third case belongs somewhere in between librarianship and philosophy. Wittgenstein would no doubt have something pithy to say like "we cannot search for that about which we cannot speak" but pragmatically you have no choice but to think about alternate terms that might describe your element. For example, "atom", "variable", "operator" and suchlike.

Hope that helps!

참고URL : https://stackoverflow.com/questions/1828654/programmer-friendly-search-engine

반응형