ColdFusion 9: Indexing custom fields in Solr
Our first step is to create an object in ColdFusion that we can use to communicate with the Solr server: <cfset the_server = createObject("java",...
View ArticleColdFusion: Queries inside query loops
One of the first places I typically look to improve the performance of ColdFusion templates is the query loop. Sometimes developers, in their haste to get things done, don’t take the time to think...
View ArticleOracle: Friendly URLs
On the one hand, we want to avoid hitting the database if we don’t have to. On the other hand, if we can use built-in functions in our queries, this can be preferable to manipulating the data after...
View ArticleMoving from Oracle Text to Solr
I’ve not had the opportunity to use Oracle’s full text search, but I thought I would offer this link for consideration: Moving from Oracle Text to Solr/Lucene I did have the opportunity some years ago...
View ArticleOracle 10g Pagination
A colleague of mine alerted me to the following example of pagination in Oracle 10g: select * from ( select /*+ FIRST_ROWS(n) */ a.* , ROWNUM rnum , count(*) over() as total_rows from ( /* your select...
View ArticleOracle: Getting milliseconds past midnight
Do a search for oracle milliseconds past midnight and chances are you’ll see results for how to retrieve seconds past midnight: SELECT TO_NUMBER( TO_CHAR( CURRENT_DATE, 'SSSSS' ) ) FROM dual; Finding...
View ArticleSHA-256 Hash in Oracle 10g
It’s been a while since I’ve posted, and I’m not certain when I will get back to posting regularly (sorry!), but I came across an issue yesterday and found a blog post that was too good not to bring to...
View ArticleOracle: SEO-Friendly URLs II
I posted over a year ago about how one might use regular expressions in Oracle to return SEO-friendly URLs in queries. The query I came up with at the time looked something like this: SELECT id, title,...
View Article
More Pages to Explore .....