search

Solr/Lucene behaves weird with some word searches.

I have Solr installed with default configuration (out of box). I have a word "alternatives" in the index. Search for any of the following gives empty results: 1. name:alterna 2. name:alterna 3. name:alterna* 4. name:*altern Obviously, I am expecting to find that entry given any part of the word "alternatives" Anybody with such an exper...

Change SharePoint scope at runtime.

I have a requirement where based on a users SharePoint group, there search should be a specific scope. My question is, is it even possible to change the SharePoint search box to use search a particular scope at runtime? ...

SharePoint 2010: Limit search to return a Document Set after matching on its child item

In SharePoint Server 2010, say I set up a Document Set and put some Word documents in it. Each Word document contains a common phrase that is found only in the body of the Word Documents. When searching for this common phrase that exists in each of the Word Documents, is there a way to return only the Document Set in the search results...

Search engines and the '&' character

I am about to finish up my dynamic classifieds website (php) and have some problem with figuring out how to write the meta and title tags. I have read mixed articles about the & sign, and how to use it in the title or meta tags properly. What role does the document encoding have and does the DOCTYPE have anything to do with this also? ...

Using Jquery to Create a search for A series of LI's with more detail in the "alt attribute"

So here is the scenario. I have a series of about 60 hidden li's that contain important information about each link. When a user hover overs the link the alt info displays in a special information area. <li style="list-style-type: none; "><a href="a" alt="This offers details on cars, monkeys trees, horses and how to do your t...

What are the current java search options like Hibernate Search or Compass?

With Compass going the way of the dodo (or at least no longer being actively developed), I wonder what other technologies there are that fill a similar role. I'm aware of Hibernate Search, but nothing else really. It seems the direction things are going is towards full indexing agnostic of entities and relationships. Are there other tech...

Problem in jquery enter key event

Hi there, I need a little of your help here. In my case I am having search textbox on b.php, in which user can enter username and hit enter to get the serched user-details. Ok this is so far. Now my search code to deal with database is ready in c.php and i want to call it through b.php with jquery's event. actuaully my a.php is home...

C#: Is there a way to search a string for a number without using regex?

hey guys, im just wondering if theres a way to check to see if a string contains any numeric digits in it without using regex. I was thinking of just splitting it into an array and running a search on that, but something tells me theres an easier way //pseudocode string aString = "The number 4" If (aString contains a number) Then ente...

Possible to put a hidden DIV right after the BODY tag to display text to Search Engines?

I have a website which requires javascript enabled to be functioning properly. So this made me put a <noscript> tag right after the <body> tag inside a DIV: <noscript><div align="center" style="border:solid; margin:5px; padding:5px; font-weight:bold; background-color:#F00;" width="800px">You don't have javascript enabled. Please enabl...

how to search a text file in j2me(new and very difficult)

hello friends, i hav a text file in which it is written as :res.txt red:redtu_hotel\address red:redu_hospital\add_hosp blue:bluert_hotel\address1 blue:blue1tr_hotel\address2 blue:blueer_hospital\add_newhosp there are 2 forms and on the first form,its a text box,a choiceGroup and another choiceGroup1,choicebox2 and again textbox2...

Sharepoint 2010 FullTextSqlQuery using LIKE predicate does not find anything

Hi I'm trying to execute a search in SharePoint 2010 with the FullTextSqlQuery class: using (SPSite site = new SPSite("http://localhost")) { using (FullTextSqlQuery query = new FullTextSqlQuery(site)) { query.QueryText = "SELECT Title, FooText FROM scope() WHERE FooText = 'Foo2'"; query.ResultTypes = ResultType.RelevantResu...

Sharepoint won't search Sub-Site

We have a Sharepoint Intranet which has many sub-sites. Search boxes in sub-sites can search through the intranet but I want them to search only in their own sub-site. I tried to change search page url in search box web part properties but it didn't work. Thank you. ...

Custom source for Windows 7 Start Menu Search

I recently came across an article about Windows 7's new Federated Search and Search Connectors. Basically, you provide users a small XML file (.osdx; an OpenSearch XML file) and they can then use Explorer to search whatever you've got. These Search Connectors actually really easy to implement Explorer calls your URL with a query and y...

Share the eclipse search result/ query

I just want to know if the search result in eclipse search view can be shared with fellow team mate as it is. I perform a search and delete few unwanted entries and then send it to him/ her The other person shall be able to view it exactly same manner in the search view. Is there a way to do this? The will be very helpful for me ...

.htaccess 404 errorDocument problem

I have this in my htaccess: Options +FollowSymLinks Options -Indexes RewriteEngine On RewriteRule ^annons/([a-zA-Z0-9_]+)$ ad.php?ad_id=$1 [NC] ErrorDocument 404 /404.html This all works, except for one problem. When I write an adress that doesn't exist like this: http://www.domain.com/some_adress_that_doesnt_exist then the 404...

Clustered search results for .net app on Win '03 / '08

hey all, i'm building a .net app using ASP.net 3.5 on win '03 or '08 (not sure yet) using SQL Server 2008. A major part of the app is building a powerful search function which has to cluster search results similar to this site. e.g. search for blindness and you see a cluster of results for blindness but also for visually impaired, eye...

How to use custom google search on https to avoid non secure content prompt on https

Is there a way to get the script for search results from an HTTPS site instead of http://www.google.com/afsonline/show_afs_search.js I am using the custom google business search on a HTTPS site. When search is submitted web browser shows warning: "This page contains both secure and nonsecure items" I tried to modify the source to be ...

Flagging possible identical users in an account management system

Hi, I am working on a possible architecture for an abuse detection mechanism on an account management system. What I want is to detect possible duplicate users based on certain correlating fields within a table. To make the problem simplistic, lets say I have a USER table with the following fields: Name Nationality Current Address Logi...

Where do I put Java Dependencies to run crawler4j-2.2.jar?

Hello, I'm new to Java and aren't sure where to place the Java Dependencies which are required to run crawler4j. Do I put them in the same folder, or do I put them where Java is located on my machine, or what? Please help me. ...

How does one searches efficiently the internet for [R,the statistical package] related questions?

Possible Duplicate: How to search for R materials? Dear all, I have recently picked up the task of programming in R. R is the statistical package / programming enviroment/language. But there is horror! Because searching for R related questions in, say, google will yield a lot of irrelevant matches simply because 'R' is, well,...