Hi,
I am trying to work out how to improve the scoring of solr search results. My application needs to take the score from the solr results and display a number of “stars” depending on how good the result(s) are to the query. 5 Stars = almost/exact down to 0 stars meaning not matching the search very well, e.g. only one element hits. ...
hi all,
is there a way to tell rubygems to always search for remote gems (instead of local)? I tried adding the following line to my ~/.gemrc
gem: --remote
but the problem is, that when i do gem list i get the following result
~$ gem list
*** REMOTE GEMS ***
- (1)
10io-jekyll (0.7.0)
1234567890_ (1.0)
2Performant (0.0.8)
360_servi...
I have a text file containing 21000 strings (one line each) and 500 MB of other text files (maily source codes). For each string I need to determine if it is contained in any of those files. I wrote program that does the job but its performance is terrible (it would do that in couple of days, I need to have the job done in 5-6 hours max)...
Hello,
I'm building a search page and I'm a bit unsure on what I should in regard to sanitizing and validating user input.
The search page has filters which are passed via querystrings. (some passed from inputs and others from links with checkbox/radio like behavior)
What should I look out for in this situation? Can I be safe using ju...
this: featid = "$USER_VARIABLE"
Does not return any matches.
What filter should one use to search in a .shp attribute table?
...
I'm wanting to do an ANDing or ORing in my mysql query, but the LIMIT needs to be the same regardless.
eg. SELECTION * FROM table WHERE text LIKE %word1 OR word2 OR word3% LIMIT 10
I'd like this to work the same way it does on twitter, but I'm finding no help from google :(
...
Hi there,
I have a MySQL table containing event data.
On this table, I have a FULLTEXT index, incorporating event_title,event_summary,event_details of types varchar,text,text respectively.
Examples of titles include: "Connections Count", "First Aid", "Health & Safety".
I can search the table as follows:
SELECT * FROM events WHERE MA...
Hi all,
In my SharePoint site I have a list wich has a column that contains rich text in it. (i.e text with bold, color and italic style).
Now when user perform search, If the search key word match with the data in rich text column it will show that record as a search result which is perfect.
But the result in search result page show...
I am trying to extract the value from
in File.txt :
116206K->13056K(118080K), 0.0879950
secs][Tenured:274796K->68056K(274892K),
0.2713740 secs] 377579K->68056K(392972K), [Perm
:17698K->17604K(17920K)], 0.3604630
secs]
I have try to extract
cat File.txt | grep 'Perm '| cut -d',' -f3|cut -d'(' -f2 |cut -d')' -f 1
What ...
does apache-nutch support sitemaps?
or how can i implement it myself? how can i use priority field, should it be multiplied to boost field?
...
I would like to able to loop through past events in a template:
{% for page in m.search[{past cat='event'}] %}
{% if forloop.first %}<ul>{% endif %}
<h2>{{ m.rsc[page].date_start|date:"M j, Y" }} {{ m.rsc[page].title }}</h2>
<p>{{ m.rsc[page].body|show_media }}</p>
<p><a href="{{ m.rsc[page].website }}">Regis...
I have a UTF-8 byte array of data. I would like to search for a specific string in the array of bytes in C#.
byte[] dataArray = (some UTF-8 byte array of data);
string searchString = "Hello";
How do I find the first occurrence of the word "Hello" in the array dataArray and return an index location where the string begins (where the 'H...
hi all,
in game search tree there are many algorithms to get the optimal solution, like minimax algorithm. I start learn how to solve this problem with minimax algorithm, the algorithm clear. but I'm confused about the tree itself, in games like tic tac toe number of node not very huge, but on others like chess there are many nodes. i th...
If I have a MultiValueField on one of my search indexes and I want to display each value in the search results, how would I do that? It seems like something is not being formatted appropriately or I am somehow misunderstanding the MultiValueField.
class PageAttachmentIndex(indexes.SearchIndex):
# This should reference search/indexes/pa...
Possible Duplicate:
getting scriptaculous autocompleter to behave like google instant
U know when u start searching in an autocomplete search box, you get a list of possible results. From those results, say you click one of the items on the list, I want to take that item and perform another search to give another list of resul...
Hello friend
I want to search module like this site.
http://www.carsales.com.au/all-cars/results.aspx?N=1216+1246+1247+1252+1282&keywords=&tsrc=allcarhome&Nne=15
Im want to know that how i develope this type of component?
or if any body know direct componet so plz tell me
its urgent
...
I would like to build an internal search engine (I have a very large collection of thousands of XML files) that is able to map queries to concepts. For example, if I search for "big cats", I would want highly ranked results to return documents with "large cats" as well. But I may also be interested in having it return "huge animals", a...
I have this code that implements hook_form_alter for durpal search form and adds couple of new elements there. I have also added theme overwrite code in my template.php for the said form. In addition to this, I also pass form elements there. Everything works fine - adds new elements, theme is used;but, here's the problem. When I try to r...
Hi, we are trying to add searching to our web site and want this search function to search only a few things:
Files - Obviously we need to parse the text of PDF, PPT and DOC files in our case
User comments. Users will be available to comment on the stuff and we want to catch if some user is searching for that relative information
I w...
is there a way to search within a browser (with any of them) using regular expression? Let's say I want to search for either "python" or "php" I don't want to have to do this twice. Ideally, this could be done within the regular GUI, but if not, using add-ons/plug-ins with Web Inspector (webkit) or Firebug is fine too. Thanks!
...