search

django-haystack ordering - How do I handle this?

Hi there, I'm using django-haystack for a search page on my site. I'm basically done, but not quite happy with the ordering and not quite sure how haystack decides how to order everything. I know I can over-ride the SearchQuerySet by using order_by but that over-rides it entirely. Let's say I want to force the search to order by in sto...

Is there any Flickr Image search API for ActionScript\MXML developers?

Is there any Flickr Image search API for ActionScript\MXML developers? (if special keys are not needed for using it will be big +) ...

HTTP 403 error when enabling query logging in SharePoint 2007

When attempting to enable search query logging from the Shared Services Provider of my SharePoint 2007 farm, IIS returns the HTTP 403 error page. My account has full-control rights at the farm and site-collection levels. ...

Any way to make this PostgreSQL count query any faster?

I'm running a case-insensitive search on a table with 7.2 million rows, and I was wondering if there was any way to make this query any faster? Currently, it takes approx 11.6 seconds to execute, with just one search parameter, and I'm worried that as soon as I add more than one, this query will become massively slow. SELECT count(*) ...

Mysql - help me optimize this query

About the system: -The system has a total of 8 tables - Users - Tutor_Details (Tutors are a type of User,Tutor_Details table is linked to Users) - learning_packs, (stores packs created by tutors) - learning_packs_tag_relations, (holds tag relations meant for search) - tutors_tag_relations and tags and orders (containing purchase det...

Google search box

I am working on a google box, something like this, http://mytwentyfive.com/blog/wp-content/uploads/byme/Google%20Search%20Appliances.jpg I am pointing the crawler to a folder where there are html files. before the crawler was crawling the files and indexing them but right now it finds the pattern or the folder but not following any html...

wssql always returning zero rows

I'm using the windows search 4.0 service (wssql) to find some files, it works fine on my computer but on our server which has two drives C: and D: always returns 0 rows when searching D: Also i'm not sure if it's related but cd d: goes back to c: in the command prompt. Edit: Ok it appears that it only returns zero rows when I specify ...

Searching custom taxonomies in wordpress

Want to know is there any plugin/hack available for searching custom taxonomies in wordpress? Directions for any idea will be great. ...

GKAchievement.completed

Maybe I still don't know how to properly find details on APIs (or how to find the APIs I am looking for) but is there any documentation on the new GameKit API items? Particularly the achievements, scores, etc. ...

how can i search a lots of .js and .php files for a specific phrase?

Windows has a go at it but only gets a few when i seach a directory. Is there an IDE or similar that allows for searching within the files of an entire directory? for example, if I need to make sure no files require to a redundant class (old_class.php) I'd like to search for 'old_class.php' or alternatively if anyone knows a...

Advanced search page for wordpress

I have a wordpress site thats related to laptops niche. So I have multiple categories like Display(10inch, 13inch, 15inch...), Processor(AMD, Intel), HDD(120GB, 320GB, 500GB...) etc. The usual search is not good. I want to create an advanced search page where user can select from options(drop downs/checkboxes) in these different cats an...

Advanced SQL query with lots of joins

Hey fellow programmers Okay, first let me say that this is a hard one. I know the presentation may be a little long. But I how you'll bare with me and help me through anyway :D So I'm developing on an advanced search for bicycles. I've got a lot of tables I need to join to find all, let's say, red and brown bikes. One bike may come in ...

Use Python to search one .txt file for a list of words or phrases (and show the context)

Basically as the question states. I am fairly new to Python and like to learn by seeing and doing. I would like to create a script that searches through a text document (say the text copied and pasted from a news article for example) for certain words or phrases. Ideally, the list of words and phrases would be stored in a separate file...

Site search in asp .net application

Hi, May I know what are the best practices for implementing a site search in ASP .net web app. The user should be able to enter some keywords and get related links with the keyword. I have just started researching. It would be great if you put on your ideas. ...

MySQL Search Within Database (Table Search)

Alright, I'm trying to write a piece of code (PHP and SQL), or rather a search query to display all the tables that contain a certain prefix. Something like what is displayed below (but is obviously incorrect) SELECT TABLES LIKE chat_ So any table that has the chat prefix, would be displayed. I plan on formatting the output, so it's n...

speed string search in PHP

Hi! I have a 1.2GB file that contains a one line string. What I need is to search the entire file to find the position of an another string (currently I have a list of strings to search). The way what I'm doing it now is opening the big file and move a pointer throught 4Kb blocks, then moving the pointer X positions back in the file and...

Controlling Solr score/sort

I want to filter a property within a range, but items that does not have the property should come last in the result. My solution was to set it to -1 if the property was not set. +(property:[10000000001 TO 10000000019] property:"-1"^0.5) This doesn't work, since every document with property:-1 get a very high score, for some reason. I...

ThinkingSphinx is not searching records with id greater than some value

Like above - I've got a ThinkingSphinx search implemented in my rails app. Searching works perfectly but - only for records with ids < 6145. Last correct search can be performed for id = 6144 I'm searching trough several models (Article, Newsitem, Video, Post) If anyone knows what could cause such a problem - please let me know. Thanks...

Bassistance Autocomplete Plugin - Search Page Replacement

Hi, i've setup an autocomplete field that searches my database which works fine: $("#autocomplete input#lookupAccount").autocomplete("lib/php/autocomplete_backend.php", { width: 300, selectFirst: false, delay: 250 }); When a user clicks on a result I want to refer them to another page depending on what they've been cl...

Is it possible to locate a place in India based on Pincode(627357) in google maps...

I am trying to implement a search option in my google map using pincode... Is it possible? Any suggestion.... ...