full

How to Look Up Email by Full Name in Active Directory?

I want to search for a user's email by using Active Directory. Available is the user's full name (ex. "John Doe" for the email with an email "[email protected]"). From what I've searched, this comes close to what I'm looking to do -- except that the Filter is set to "SAMAccountName", which is not what I have. Unless I'm misunderstandin...

MySQL Full Text Search Boolean Mode Partial Match

I've found boolean mode of MySQL full text search useful, however there are a couple of things I can't seem to figure out how to achieve. For instance imagine I have a full text column containing the words "Steve's Javascript Tutorial - Part One". I would like to match this for each of the following searches: "tutorials", "javascript t...

Which is best serach technique to search records

I have 10,000,000 records which will be the best technique to search records, currently i m using full text search but it is slow,please suggest. ...

Cassandra full text search like

Let's say I have a column family named Questions like below: Questions = { Who are you: { username: "user1" }, What is the answer: { username: "user1" }... } How do I search for all the questions that contain certain words? Get all questions that contain 'what' word. How do I do it using python or at le...

how to make a full screen div, and prevent size to be changed by content?

for my web application, i would like the main div to be full screen (both width and height = 100%), and regardless of content, i want it to stay at that size. that means, if there are not much content, it shouldn't shrink, and if there are too much content, it shouldn't push this main div. how can i do this? (i'm ok with hacks applied ...

Full-text search with wildcard

I have a table with full text search enabled. But I can't get query the table using wildcard. select * from products where contains(Description, 'Computer') returns rows with the word "Computer" select * from products where contains(Description, 'Compute*') [replace "r" with "*"] returns nothing What's going on? ...

FTS Sql Server 2008 question - assign weights to multiple columns

I have a feeling this question might have been asked before, but I am not able to find it. So here it goes: I am searching through articles for words, phrases typed by users on a website my articles have different columns for title, keywords, body, summary. when I am searching I want the result to be more relevant if found in Title tha...

C Queue programming problem.

I'm learning queues from a book. The author explains the operation of inserting an element in queue using the following code. #define MAX 100 char *p[MAX]; int spos = 0; // spos: holds the index of the **next free** storage location int rpos = 0;// rpos: holds the index of the next item to retrieve void qstore(char *q) { if(spos==MA...

Is there any way to access inverted index on sql server full text search

I would like to get "content" () of full text search index as described in http://en.wikipedia.org/wiki/Inverted_index and http://en.wikipedia.org/wiki/Microsoft_SQL_Server#Full_Text_Search_Service. Content - name of word and occurences This question is related with my previous question without answer http://stackoverflow.com/questions/...

android full screen textview

I am trying to create an app that has a simple textview displaying a count down. All the menus and such will be hidden under a long press or with the menu button. I'm trying to find away to make the text in that text view automatically scale and take up the whole screen something like android:textSize="100%" Despite lots of search I ca...

How to return back to app after clicking on anchor that has target="_webapp"?

I link an external site through target"_webapp" hence it will open in the same window in my full screen mode. However, i want the user to have an option of going back to my app. How do i do that? ...

Can Sphinx be configured to give more weight to certain fields?

Hey, so I'm wondering if it's possible for Sphinx to weight certain fields of document over others in its results. For example, if I did a search for 'the rock show', is it possible to configure sphinx to give much higher precedence to a song named 'the rock show' over a song which has 'the rock show' in its lyrics? ...

How to get the search words location from Sphinx search engine?

I use Sphinx to index HTML pages, giving different weights to title, description, etc. I'm looking for a way to get the search words location in the page from the results that I get from Sphinx. Meaning, if the wordset is "stack overflow program" and I have 5 documents that match, each of them was a match because it contained at l...

Full text search - tag system problem

I store tags in 255 varchar area, like this type; ",keyword1,keyword2,keyword3,key word 324,",keyword1234, (keyword must start and end comma (commakeyword123comma)) - I can find a keyword3 like this sql query; select * from table where keyword like = '%,keyword3,%' CREATE TABLE IF NOT EXISTS `table1` ( `id` mediumint(8) u...

css 2 column but have full height regardless of div height

Hello, I've tried many 2 and 3 column css layouts but none seem to do what I want and I can't figure it out. What I'm trying to achieve is effectively a two column display with the left side (e.g. 160 pixels wide) having a background of grey, a central section of the page (e.g. 600 pixels) that is white and the remainder of the page to ...

Can a binary search tree be both full and complete?

In preparation for the data structures midterm, the professor gave us last year's test, one question which deals with re-arranging an example tree into a complete binary search tree. I've tried several different versions of writing out the tree, but this complete binary tree example from Wolfram Mathematica didn't help at all, since it ...

two full text mysql searches with union but return a distinct field, need help

SELECT DISTINCT sectionID FROM ( (SELECT sectionID,MATCH (content) AGAINST ('blah') AS relevance FROM sectioncontent WHERE MATCH (content) AGAINST ('blah')) AS alias UNION DISTINCT (SELECT sectionID,MATCH (name, description) AGAINST ('blah') AS relevance FROM sections WHERE MATCH (name, description) AGAINST ('blah')) ) I would even...