lets say I have a table with product details. one of the fields is category (integer).
I want to do fulltext search on product name in specific category.
Unfortunately Mysql does not allow me to specify index that includes category and product name as fulltext. It looks like I can use fulltext only on product_name and theefore any fulltext…
Anyone know what this error means? after googling I found a bunch of sites that appear to have the same error? thanks
exception 'Zend_Controller_Action_Exception' with message 'Action "index" does not exist and was not trapped in __call()' in /usr/local/zend/apache2/htdocs/pintsy/lib/Zend/Controller/Action.php:485
Stack trace:
#0…
I have the following navigation where .topNav has position:relative and subnav has position:absolute. I cant get the sublist to appear over the main list due to z-index problems. This seems to be a known problem.
<ul>
<li class="topNav">About Us
<ul class="subNav"><li> Subsection A</li><li>Subsection…
I have a loop in my C++/OpenMP code that looks like this:
#pragma omp parallel for
for(unsigned int i=0; i<count; i++)
{
// do stuff
}
When I compile it (with Visual Studio 2005) I get the following error:
error C3016: 'i' : index variable in OpenMP 'for' statement must have signed integral type
I understand that the error…
How does SQL Server determine whether a table column has low cardinality?
The reason I ask is because query optimizer would most probably not use an index on a gender column (values 'm' and 'f'). However how would it determine the cardinality of the gender column to come to that decision?
On top of this, if in the unlikely event…
This is what my .htaccess looks like. The .htaccess is sitting in /www/scripts directory which is the parent of codeigniter's "system" directory and which also contains index.php. I have enabled mod_rewrite in my Apache 2.2.x. This is on Ubuntu 9.10 server.
I followed this link, but it does not work. Is there anything i need to…
I have an auction website where users can place a bid on a product. Now i have a primary index on the bid table for easy access of the last places bid on the product. This index is just a unique auto incrementing value. During the week this number becomes huge!!
I was wondering if this is a good setup for the primary key in an…
Hey all,
I'd like to do the following:
If a user gets to a url or types it in, and it is along the lines of any the following:
/path/path/path
/path
/path/path/
I would like htaccess to forward them to that url + /index.htm before triggering a 404. Also, I would like to ignore this rule for certain paths. Here is what I…
OK, I hope this is my last question about CRON jobs and Kohana 3. Note: others are not duplicates, just other problems.
Here is my CRON job (setup in cPanel)
php /home/user/public_html/index.php --uri=properties/update
As per this answer.
I have set it up so it emails me the output. It is running every 5 mins.
…
I am parsing xml file in javascript and after that want to cancatenate all the the data into string. but failing to do the same and it is returning undefined.
GDownloadUrl("./include/dataemp2.xml", function(data) {
var xml = GXml.parse(data);
markers =…
According to the Thinking Sphinx docs...
Turning on delta indexing does not
remove the need for regularly running
a full re-index ...
So I set up this cron job...
50 10 * * * cd /var/www/my_app/current
&& /opt/ruby/bin/rake thinking_sphinx:index…
hello!
i have a store model, this will handle my leaflet and my shoppingcart for my shop.
now i d´like to show all items added from an user to his leaflet in the index of store. in the store an user can change the quantity of the choosen items. and now i want to…
While scrolling my web page a DIV which have a video is not going behind the top DIV.
On my web page a top DIV,which have folloing css styling
#header{
font-size:11px;
height:25px;
position:fixed;
top:0;
width:960px;
z-index:1000;
}
Now after clearing all…
I would like to determine the index of the selected context menu item. But I don't want to build a unique eventhandler for each menu item...how do I do this
MenuItem mi= StatusContextMenu.MenuItems.Add("Set option");
mi.MenuItems.Add(0,new MenuItem("Set…
Hi, I have a command line C++ program that lets you enter basic information about a person (ID number, name, age, etc.) and I want to output to a console in the following manner:
-------------------------------------------------------------------
Index ID…
I have a class BaseTemplate
public abstract class BaseTemplate : ITemplate
This adds the controls, and provides abstract methods to implement in the inheriting class. The inheriting class then adds its html according to its data source and manages the…
Hi there, Im running Solr 1.4 on Ubuntu 10.04 (installed via apt-get solr-tomcat) and it seems to be working fine. Im having some difficulty finding any coherent info on how to index documents though. Im new to SOLR so bear with me!
I have a…
everytime i start with a fresh new workspace, m2eclipse downloads nexus-maven-repository-index.gz from the maven central repository.
this is good.
but,
some times, i just want to start a new workspace, and not wait for it to download,
it…
I am using OpenJPA 2.2.0 and when I am executing a select statement I am getting "Column index out of range, 0 < 1" error.
EntityManager entityMgrObj = emf.getEntityManager();
entityMgrObj.clear();
Query query =…
Please can any body tell me is this right what I am doing here..
I need to display a dropdown list box in each row in the grid
var lastsel2;
$("#table1").jqGrid({
scroll: 1,
…
I'm making a small webpage where the I would like the top banner with some text to remain on top, as such:
HTML:
<div id = "topBanner">
<h1>Some Text</h1>
</div>
CSS:
…