index

A Tricky Search Engines Trouble: Search Engines Can not Found A page in My Site.

I racked my brain to figure this issue out, but got no luck! So my SO guys, help me! We created a page in our site five days ago, and every thing was done as usual.(means we used template to create the page.) The trouble is, so farm I have not find my page in any of the search engines, even though Google and Bing crawled my site(namely ...

How can jQuery find the row number of a button clicked in a dynamically generated table?

I have a table that looks like this: <table> <thead> <!-- random table headings --> </thead> <tbody> <tr class="readonly"> <td><input type="text" readonly="readonly" name="bookings[start][]" class="date" value="start"/></td> <td><input type="text" readonly="readonly" name="bookings[end][]" class="date" ...

DB2 Multiple Index on same column combinations

Lets say I've a table T with columns C1, C2 ... C10. C1, C2 and C3 are most frequently refered columns in multiple queries. The order in which these columns are refered can't be controlled. To improve query performance do I need to create multiple indexes such as (C1, C2, C3), (C1, C3, C2), (C2, C1, C3), (C2, C3, C1) etc.? With exampl...

using .index() inside a hover()

I'm having some trouble with using the .index() inside of a .hover() function. Thanks for any help. $("#myUL li").hover( function () { //this logs a li element as it should $(this).log(); //this reports that it's not a valid function, why? $("#myUL").index(this).log(); //when i do it this way... var foo = $(...

How worth is it to assign an FK Index?

I'm a normal "would be DBA" level developer. I've been handling some databases with a few million records. A lot goes around importing data between database and its clone and then using that clone in the web-app environment. Well, I've known that keeping PK indexes automatically and so it helps speedup the data access. Now, from this di...

Hibernate updating database structure with new indexes

Hi All. It's well known fact that hibernate work with indexes in a very strange way. It generate them only if you create a database schema from the scratch. But if you try to update the database schema hibernate will ignore new indexes. My question is, does anybody find a solution how to ask hibernate generate SQL for new indexes durin...

Alter column drops index

I have a table CREATE TABLE table1( [classe] [char](30) NOT NULL, [code] [char](30) NOT NULL, [description] [varchar](255) NULL, [codelangue] [char](2) NULL ) ON [PRIMARY] with the index CREATE NONCLUSTERED INDEX [table1_id1] ON [dbo].[table1] ( [codelangue] ASC, [classe] ASC, [code] ASC ) INCLUDE ( [description]) WITH (PAD_...

Get the static text contents of a web page

Hi all! I have a search bar in my web site that searches for all the pages in the web site that contain a particular keyword. This is achieved by querying an Indexing Server catalog. My question is as follows, suppose I search for the word "ASP.NET" and i got say 3 pages that contain an occurence of "ASP.NET". I want to display the l...

Why doesn't Perl support the normal [] operator to index a string?

Why doesn't Perl support the normal [] operator to index a string? Almost all major programming languages support this operator,esp the other two 'P': python and php.Moreover,I do think it should be easy to implementate this little syntax.Also,as the philosophy of the perl programming language -- as lazy as we could,so why do we bother t...

UITableView Indexing problem

I have an indexed table view that organizes cities in a state by their first letter. What I have working is an NSMutableDictionary is created with the keys of A,B,C,etc. and the corresponding cities are added to their respective arrays. ex: Y = ( Yatesboro, Yeagertown, York, "York Haven", "York New Salem", "Y...

solr + Heritrix

how is it possible to integrate solr with heritrix ? I want to archive a site using heritrix and then index and search locally this file using solr. thanks ...

Get the contents of an indexed file from an Index Server catalog???

Hi guys! Is it possible to retrieve the contents of a file from an Index Server catalog? I have tried selecting the "contents" column but it returns an empty string all the time & by reading from this codeproject article i can understand that the "contents" column can queried but not retrieved! So is there any way to get the contents u...

how to structure an index for group by in Sql Server.

Hi, The following simple query takes a very long time (several minutes) to execute. I have an index: create index IX on [fctWMAUA] (SourceSystemKey, AsAtDateKey) SELECT MAX([t0].[AsAtDateKey]) AS [Date], [t0].[SourceSystemKey] AS [SourceSystem] FROM [fctWMAUA] (NOLOCK) AS [t0] WHERE SourceSystemKey in (1,2,3,4,5,6,7,8,9) GROUP BY [t0...

How does Delphi Retrieve index for IndexName property of TTable?

Dear Gurus: Here is a question about how Delphi querys the indexes from another schema in Oracle(10.2.0.4). The follow is the scenario: There is a primary key(says myTablePK) of table "myTable", owned by A user, and my Delphi app. logons as B user who switches itself to A schema by setting CURRENT_SCHEMA=A on AFTER LOGON trigger. To id...

PHP array problem

I have an array like this. What i want is to get the value of the index for specific values. ie, i want to know the index of the value "UD" etc. Array ( [0] => LN [1] => TYP [2] => UD [3] => LAG [4] => LO ) how can i do that?? ...

How to determine if scrolling a UITableView was done by tapping the index?

Hello, all ... I want to determine when the index (transparent alphabet) along the side of a UITableView is tapped. To be more specific, I have a sectioned UITableView that has an index, and said index does the right thing, but when the UITableView's -scrollViewDidScroll method is called, I want to be able to determine if said scrollin...

TableView oval button for Index/counts

Can someone help me create an index/count button for a UITableView, like this one? Is there an Apple example, or other tutorial? Thanks, Jordan ...

SQL Server wide indexes with many include columns

Should I be careful adding too many include columns to a non-cluster index? I understand that this will prevent bookmark look-ups on fully covered queries, but the counter I assume is there's the additional cost of maintaining the index if the columns aren't static and the additional overall size of the index causing additional physic...

Linq to SQL nvarchar problem

Hi, I have discovered a huge performance problem in Linq to SQL. When selecting from a table using strings, the parameters passed to sql server are always nvarchar, even when the sql table is a varchar. This results in table scans instead of seeks, a massive performance issue. var q = ( from a in tbl where a.index == "TEST" s...

Python: return the index of the first element of a list which makes a passed function true

the list.index(x) function returns the index in the list of the first item whose value is x. is there a function, list_func_index(), similar to the index() function that has a function, f(), as a parameter. the function, f() is run on every element, e, of the list until f(e) returns True. then list_func_index() returns the index of e. ...