search-engine

How can I handle duplicate data in Elasticsearch?

情到浓时终转凉″ 提交于 2019-12-14 03:48:51
问题 I have used parent & child mapping to normalize data but as far as I understand there is no way to get any fields from _parent document. Here is the mapping of my index: { "mappings": { "building": { "properties": { "name": { "type": "string" } } }, "flat": { "_parent": { "type": "building" }, "properties": { "name": { "type": "string" } } }, "room": { "_parent": { "type": "flat" }, "properties": { "name": { "type": "string" }, "floor": { "type": "long" } } } } } Now, I'm trying to find the

Elasticsearch: do exact searches where the query contains special characters like '#'

一个人想着一个人 提交于 2019-12-13 20:37:53
问题 Get the results of only those documents which contain '#test' and ignore the documents that contain just 'test' in elasticsearch 回答1: People may gripe at you about this question, so I'll note that it was in response to my comment on this post. You're probably going to want to read up on analysis in Elasticsearch, as well as match queries versus term queries. Anyway, the convention here is to use a .raw sub-field on a string field. That way, if you want to do searches involving analysis, you

Why would M# be harder to Google than C#?

為{幸葍}努か 提交于 2019-12-13 19:43:21
问题 I read just now in a comment on another question titled Effective Googling for short names C# isn't bad to Google for at all. It would be a lot harder if it were called M#, by the way. Why? What am I missing? 回答1: It turns out I was somewhat wrong. I had thought that C# just happened to benefit from an understanding of musical keys - a search for "G#" finds plenty of results about the musical key of G#. (This is shown by experimentation, by the way - despite working at Google I don't know

Documents are reflecting after some delay in Solr 3.6

拈花ヽ惹草 提交于 2019-12-13 19:25:51
问题 Working with Solr 3.6 for ASP.net application. We're using SolrNet library. We have a custom program written in asp.net to incrementally add a documents to Solr using SolrNet. This monitors the progress for inserting documents into Solr. The issue is, the application shows process as completed but checking into Solr results we only see few documents in results, and not all of the document. Although checking it again after 15 minutes, few more documents are now listed in Solr results, which

HTML meta “keywords”. Worth including?

妖精的绣舞 提交于 2019-12-13 14:42:31
问题 Do you use " keywords " meta in your site, knowing that Google does not use them (and has no plans) in page ranking, and perhaps even search? 回答1: Yes you do; Google is not the only search engine in the web although its has the major market share. There are other engines including Yahoo which use the Keywords META to some extent. 回答2: No. I don't want competitors knowing what I am trying to rank for . Keywords are very valuable in some markets. If you found a good keyword phrase that is

Google custom search refinement for newest results

泪湿孤枕 提交于 2019-12-13 12:33:59
问题 I'm using a google custom search engine on my website. I have two refinements on this custom search Refinement 1: searches on my blog Refinement 2: searches on a blog of my friend but I need a third refinement which searches for newest results of both websites, or the results of last 24 hours. Can I add some operator to the refinement which can do this? Or is there some other way to achieve it? 回答1: Multi-site Refinement There are two ways to create a refinement that searches both sites. In

PHP simple search engine getting error: Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given [duplicate]

陌路散爱 提交于 2019-12-13 09:50:04
问题 This question already has answers here : mysql_fetch_array() expects parameter 1 to be resource problem [duplicate] (7 answers) mysql_fetch_array()/mysql_fetch_assoc()/mysql_fetch_row()/mysql_num_rows etc… expects parameter 1 to be resource or result (32 answers) Closed 6 years ago . I keep getting this error when i click the search button: Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in C:\xampp\htdocs\testsearch.php on line 25 here is the code: <form method

display a file on page using php

独自空忆成欢 提交于 2019-12-13 08:09:00
问题 I made a script that searches in a category for a file. My issue is: after searching the script doesn't display results of the search. Example: I'm searching for a game like :-? AC3. After search the script doesn't display any result. Some help? <html> <body> <center> <font color="black" size="4"> <?php //define each directory here, the index starts with 0 == all and so on. $categorydir = array('/Category/All/', '/Category/PCGames/', '/Category/Console/', '/Category/Movies/', '/Category/Music

semantic web services search engine

谁说我不能喝 提交于 2019-12-13 06:26:17
问题 I am searching for a set of semantic web services to test my work. Does anybody know a public web services search engine, or any web services repository in which web services are semantically described (e.g., using OWL-S)? 回答1: Check out these resources OWL for Services (OWL-S) - Examples Collection of OWL-S Web Services 来源: https://stackoverflow.com/questions/17393071/semantic-web-services-search-engine

Controlling Search Engine Index Removals

余生长醉 提交于 2019-12-13 04:31:34
问题 My site has some particular pages that are: Already indexed in search engines, but I want to remove them from the indexes. Numerous, as they are dynamic (based on query string). A bit "heavy." (An overzealous bot can strain the server more than I'd like.) Because of #2, I'm just going to let them slowly get removed naturally, but I need to settle on a plan. I started out by doing the following: Bots: Abort execution using user-agent detection in the application, and send a basically blank