I'm using sphinx to list me some items from my database here.
It's almost 100%, I just haven't figured out yet how to create an OR between two different filters. For example:
My Object in the database has a starting and an ending date, I can filter(starting_date, x, y) and filter(ending_date,x,y), but both filters will have to return tr...
Hi
Where can I find documentation about WDS, specifically, using SQL queries from C# to query WDS? Are there any resources listing the columns that can be queried from the SystemIndex?
Additionally, I want the query to return the "context" i.e. just like the WDS client does with a few lines from the document where the search terms are f...
here's another really stupid question. XCode has a Developer Documentation window. There are sections dedicated to sorting the results of a language reference search.
There's no search bar. No button that says "Search for:". No magnifying glass.
What am I looking for??? Google doesn't understand my question, and I thought I'd ask you ...
In my posts model, I have a named scope:
named_scope :random, :order => "Random()"
I'd like to give users the ability to get posts in a random order by sending a GET request with params[:scope] = 'random'.
Short of eval("Post.#{params[:scope]}"), how can I do this?
...
Now that Wolfram Alpha is released, I am interested in finding out if it can be used as a time-saver in daily programming.
What would you use Wolfram Alpha to do, that earlier took you more time to do manually?
I guess the "Web and Computer systems"-examples is a good start, but there must be more hidden gems that will be really practi...
I believe back when we were on Win2K, Windows Search would search through Jar files to locate specific classes but this doesn't appear to work in XP. Does anyone know how to enable this in XP?
Note, to do the search in Win2K we just entered *.jar for the files and "ClassABC" for the search text string and the search would return any ja...
I found that SO put the search input inside a form tag, and i found some other websites do the same, such as google, they put the search input and search button inside this:
<form action="/search" method="get" name="gs" id="tsf">
I want to just know the benefits of doing so, because it seems common and I miss it.
...
Did any of guys run into this error where the search crawler is ignoring an aspx page? I am getting the following warning message for these page: "Content for this URL is excluded by the server because a no-index attribute".
Any help will be appreciated.
Thanks.
...
Having a small, SEO-friendly corporate site behind a basic password protection scheme, I'd like to add a basic search facility by using one of the off-the-shelf solutions. (I don't mind Google, or Yahoo having the site's content, as long as it doesn't leak to the web).
Google doesn't seem to support this, so I'd like to ask the SO commu...
Hi all,
I am using hibernate search 1.1. I want to apply ResultTransformer operation post query to match the targeted data structure.
But i cannot be able to find that class(StaticAliasToBeanResultTransformer) in the hibernate search jar. Where can i find this class?.
Thanks,
...
Hello, I have a reocred file and I need to make a programm tha should help fined any word into that recored by typing a word into a search field, the recored file is contain a list of words so I need ta serach into that list to fined any word that could be similar to my word
...
Hello,
I need to code a solution for a certain requirement, and I wanted to know if anyone is either familiar with an off-the-shelf library that can achieve it, or can direct me at the best practice. Description:
The user inputs a word that is supposed to be one of several fixed options (I hold the options in a list). I know the input ...
I have 100 Gb of documents. I would like to characterize it and get a general sense of what topics are prevalent.
The documents are plain text.
I have considered using a tool like Google Desktop to search, but it is too large to really guess what to search ask for and too time consuming to perform enough searches to cover the entire se...
So I was trying to answer a "heavily answered" question, like this one, but I didn't know if my answer (Apache Chainsaw, if you insist) has already been written or not.
Is there some kind of a search mechanism to search within all answers to a given question? Something with GUI, "conventional". That is: not a hack for RSS feeds, not a ha...
Hi I want to write a FindByExample(object o) method. So I tried this:
public IList<T> FindByExample(T o)
{
return Session.CreateCriteria(typeof(T)).Add(Example.Create(o)).List<T>();
}
(It's in a generic class)
It should work fine, but if T has a property of an enum type, it throws this exception:
"Type mismatch in NHibernate.Cri...
Problem: to have a keyboard shortcut to google a current selection in Screen's copy mode from terminal to Firefox
You can copy the sentence to Screen's clipboard in copy-mode by pressing enter. However, I want to be able to press g to put the Screen's clipboard to the command below as the first parameter:
#!/bin/sh
q=$1
open "http://ww...
What's the best way to implement an interface that looks like this in rails?
Currently I'm using Searchlogic, and it's a tad painful. Problems include:
Making sure certain operations remain orthogonal -- for example, if you select "Short Posts" and then search, your search results should be restricted to short posts.
Making sure the...
i need a datastructure in dotnet where i can search an item in constant time.it means that datastructure should implement indexing internally.is dictionary usefull for this purpose or some other one?
...
The related questions that appear after entering the title, and those that are in the right side bar when viewing a question seem to suggest very apt questions.
Stackoverflow only does a SQL search for it and uses no special algorithms, said Spolsky in a talk.
What algorithms exist to give good answers in such a case.
How do U do datab...
Hi
I have three tables, t1, t2 and t3. 80% of the fields/columns are similar in these tables. Around 75,000 records are posted in table t1 and t2 on daily basis, totaling to 150,000. A process, say P123, is executed which moves 40-60 % records from t1 and t2 to t3 in a pair. The user searches frequently for records in all three tables wi...