search

haystack multiple field search

Hi i m using haystack with a woosh as search engine: my model looks as follows class Person(models.Model): personid = models.IntegerField(primary_key = True, db_column = 'PID') firstname = models.CharField(max_length = 50, db_column = 'FIRSTNAME') lastname = models.CharField(max_length = 50, db_column = 'LASTNAME') ...

Iphone UISearchBar Disappears When Enabled for Multiple Tables

I am working on an iphone app. I have eight tables in a view and only a single table has alpha = 1 at a time depending on which tab at the top of my view is clicked. This works perfectly. I have a search bar that looks through the tables and operates almost perfectly - there are some bugs that I am working on. Currently, my biggest c...

Iphone UISearchBar Cancel Button Malfunction

I have a UISearchBar that searches and displays results successfully. If I press the cancel button mid-search, the original table is restored and all is well. If I press the search button that is on the keyboard, the search results are shown, which is great. But THEN if I press the cancel button that is on the search bar (I am using t...

Is it possible (How) to have an application return custom search results in iPhone's spotlight search?

I am working on making an application that will store information, and for user convenience I'd like to make it possible for them to use Spotlight (scroll to the left until search appears on the home screen) to search for items in the app. Is this possible, and if so, can you point me to a reference? I have had no luck in finding this, ...

SharePoint Managed Properties (Mappings) - Multiple Site Collections

Have mapped properties for custom fields used in multiple site collections. The property is also used to display additional information on the search results page if it contains information. The search results work fine as content from each site collection is returned, but the managed property only contains data for content found on on...

Wordpress, a good search plugin?

Hi, I'm looking for Wordpress plugin that just improved the search results, but doesn't add the the search box. At the moment wordpress isn't even doing plurals. So does anyone know a good plugin that will make the search a whole lot better? ...

Moss search: Simple term vs. Included term

In MOSS 2007 Enterprise Search, what is the difference between a:    Simple term (Keyword with no special requirements) and an    Included term (Keyword that must be in content items returned in search results) ? In other words, if i enter the following keywords in a search:    dinosaur baker Is that different from entering:    +d...

Sitemap xml file; Does the url have to end with an ".htm" ?

I have a website which has .htaccess rewrite rules. And alot of them. This means for example that www.mydomain.com/classifieds/something_very_very_very_very_Very_very_looong.php?id=12345 becomes www.mydomain.com/classifieds/12345 Now, this might be a stupid question, but I must be sure... I have followed several guide...

Text keyword search in 200 or so char text field on database

Here's the situation, hugely grateful for any input anyone may have: I have a table of about 100m rows, with (among several other fields), a text field that we can call 'product'. The product field is about 200 chars long, and contains details of, yes, products. I want to give users the ability to search through these items by entering...

iphone programming, loading plist data, access it

Hi, i have a plist in the following form: Root (array)---> item 1 (dictionary) ----> Sch (string) ---> Name (string) ----> price (number) ----> item 2 (dictionary)----> .....same as item 1 how can i access each row (item1 to ...) and the its child (Sch...

Search in mysql without special symbols when mysql row with special symbols?

Search input: How to format Mysql row: How to - Format How can I find "How to - Format" if search input is "How to format"? In other words how can I search in mysql without special symbols when mysql row with special symbols? Sorry for my English and thanks for any help. ...

saving search terms rails thinkingsphinx

I use TS for full text search in my rails app. I am trying to save the search term to present "most searched" type list in my app. Here is my search controller index action. I notice that with the "save" the search feature the search takes about 1.28s and without it about 1.04s. Couple of questions. 1- Is there a better way to do this,...

How to format URL for better indexing from search engines

Let say I want to refer to a restaurant page, I could use one of those 2 URLs for example: 1- /restaurants/123 2- /restaurants/Pizzeria-Mamma URL 1 has the advantage to be a quick match because of the ID but it is not as descriptive as URL 2. Does URL matter to search engines? I read somewhere that it is good to put the keywords in t...

Find Stuff (but not in production)

Using the tutorial "Find Stuff (quick and Dirty)" in "Advance Rails Recipes", I can find stuff in the development environment but not in the production environment. NoMethodError: undefined method `searchable_by' I have this code in "lib/searchable.rb" module Searchable def searchable_by(*_column_names) @search_columns = [] ...

Search my site with bing through form without javascript

I'm hoping to find a way to use the Bing search engine to search only my site through a html form without javascript. Google handles it this way: http://www.google.com/search?as_q=Sharepoint&as_sitesearch=plop.nl where I can use these fields: as_q and as_sitesearch. Does anybody know of something like this for Bing? ...

how to replace an element in every column of database table?

Hello, I am not a guru of databases, do most of the things through PHP, like data manipulation as well, even if it is an internal task. However, PHP is not being very useful in this case. I have a table with about 0.4 million records in it and it has like 16 columns, everything else works fine but I populated this table from a text file ...

Find the largest value smaller than x in a sorted array

Suppose I have a sorted array of integers int[], and I want to search the closest smaller value to some input number. for example if the array contains (1) , (23), (57) , (59), (120) and the input is 109, the output should be 59. I am just trying to see suggestions and compare to the approaches I already have. ...

How do i exclude everything but text/hmtl from a heritrix crawl?

On: Heritrix Usecases there is an Use Case for "Only Store Successful HTML Pages" My Problem: i dont know how to implement it in my cxml File. Especially: Adding the ContentTypeRegExpFilter to the ARCWriterProcessor => set its regexp setting to text/html.*. ... There is no ContentTypeRegExpFilter in the sample cxml Files. ...

Google Search Appliance not indexing

Not too familiar with GSA here so hopefully someone can help me. Have a Drupal multisite installation, just added another site to it. It all works fine. However, when I go into the GSA admin, it won't crawl the site even though the URL pattern matching is fine. All it says is this: "/ Info: Redirected URL" It hits the homepage and s...

What's wrong with this code??

The code is to search for a substring...the code takes in 2 inputs...the 2nd string is used to search...i.e 2nd string is smaller in length. a=input("Enter the 1st string") //Giving error here b=input("Enter the second string") com="" for x in range(0,len(a)): com="" for j in range(x,len(b)+x): com=com...