Using database and file results in search collection

I have a document management application that contains data
about PDF documents in a database with a reference to the file name
to access the PDF, like:
id Name Number URL
1 Doc Title 1 100-199 100-199.pdf
2 Doc Title 2 100-287 100-287.pdf
We currently search on the name and number from the database,
but users want to search the contents of the PDF as well. The name
and number are inside the PDF, but there is no metadata to return
clean search results.
Is there a way to combine the database query collection with
the file search collection to create a single, searchable
collection without manipulating the PDF files?
Tags: cfsearch, cfcollection, cfindex, verity

Hi,
I'd like to do this also, is this possible?

Similar Messages

  • Using databases and container events?

    I'm having trouble finding documents show how one should use databases and listen for container events? I'm using Berkley Java DB. I'll need all my remote object to have access to the database. How do I pass that in? Custom adapters? Also, when Tomcat shuts down I need to close the database, how would this be down? Custom adapters? So I may be answering my own question, but I'm asking cause I really don't see anything in the documentation that points this out. It really looks like I'd be using singletons and factories for this. I could register a Servlet or Servlet Context to listen for Tomcat events, but I figured it couldn't hurt to ask others using Blaze, as I'm very new to it. Thanks.

    So how would you tell Blaze to use this? Is there something you put into the config file? My thoughts on all this is to use PicoContainer to manage all services then create an adapter to inject all resources when creating remote objects. But this seems a little heavy if Blaze can do all this for me. The adapter seems like the injection point to me. Is that not what it's used for? Or is using it like that bad practice under Blaze? I've read all I can find on Blaze, so either it's missing docs, or I'm not finding them all. If I'm missing them, by all means let me know where to go. I don't want to ask questions that are already answered in documents else where.
    On Tue, May 20, 2008 at 10:51 AM, Mete Atamel <
    [email protected]> wrote:
    A new message was posted by Mete Atamel in
    General Discussion --
      Using databases and container events?
    I think it's mainly in JavaDocs but here's a sample I have where I check to make sure the HSQLDB is running as the BlazeDS starts up:
    import java.sql.Connection;
    import java.sql.SQLException;
    import flex.messaging.config.ConfigMap;
    import flex.messaging.services.AbstractBootstrapService;
    public class DatabaseCheckService extends AbstractBootstrapService
        // This is called right before server starts up.
        public void initialize(String id, ConfigMap properties)
            Connection c = null;
            try
                // Check that the database is running...
                c = ConnectionHelper.getConnection();
                // ... if yes return
                return;
            catch (SQLException e)
                System.out.println("DB is not running!");
            finally
                ConnectionHelper.close(c);
    // This is called as server is starting.
        public void start()
            // No-op
    // This is called as server is stopping.
        public void stop()
            // No-op
    View/reply at
    Using databases and container events?
    Replies by email are OK.
    Use the
    unsubscribe form to cancel your email subscription.
    "All that is necessary for the triumph of evil is that good men do nothing." - Edmund Burke

  • What are the best storage systems to archive inactive (but still used) apps and files?

    What are the best storage systems to archive inactive (but still used) apps and files of all types? I already have a Time Casule which I back up on and I'm needing to create more space in my flash drive in my Mac Pro, so I need another external storage system I can use to archive all that I don't currently need. I may still wish to edit and use the files, and I am not very techy and am a broke student... so anything grossly expensive is a no-no for me (between $50 and $200 is idyllic). If you could simply post links of different good/useful hard-drives that I can use, I'd be thankful.
    Thank you
    p.s. I'm australian, so anything within this country would be great. Or I can deal with somewhere that has cheap shipping.   

    It's been moved and seconded. Any discussion? Yes:
    Buy two external drives. Use one for Time Machine. Be sure this drive is at least twice the capacity of your computer's hard drive. Use the second drive as a bootable clone of your computer's hard drive. Should something happen you can immediately get the computer up and running from the clone until your restore from the Time Machine backup. This is what is called redundancy. Should either backup drive fail, there's another to take its place. Backup redundancy is very important. You can never have too many backups.

  • When i use Firefox and do a Google search, find what i need and click on the link I keep getting automatically redirected to another search site

    When i use Firefox and do a Google search, find what i need and click on the link I keep getting automatically redirected to another search site called http://www.scour.com
    Can someone tell me if this is a problem with Google or Mozilla? or both? or neither?

    This type of behaviour can be caused by malware. Try running several malware scanners. It is best to run several as each will pick up things that the others miss. Some scanners you can try are:
    * [http://www.malwarebytes.org/mbam.php Malwarebytes]
    * [http://www.superantispyware.com/ SUPERAntiSpyware]
    * [http://www.lavasoft.com/products/ad_aware_free.php Ad-Aware]
    * [http://www.microsoft.com/windows/products/winfamily/defender/default.mspx Windows Defender]
    * [http://www.safer-networking.org/en/home/index.html Spybot S&D]
    This link may help - http://deletemalware.blogspot.com/2010/02/remove-google-redirect-virus.html
    If the above malware scanners do not find any malware or can not clear it, you should consider posting in one of these forums for specialized malware removal help:
    * http://forums.spybot.info/
    * http://www.spywarewarrior.com/index.php
    * http://forum.aumha.org/
    * http://www.bleepingcomputer.com/forums/
    * http://www.spywareinfoforum.com/

  • How can i transfer my rarely used applications and files so i can make room on my computer harddrive?

    how can i transfer my rarely used applications and files so i can make room on my computer harddrive?

    Well the applications you should leave alone as they install files elsewhere that are needed like preferences etc that won't be on the external drive if you attempt to run it from there.
    Some programs are completely self contained and will run just fine from a external drive, but applicaiton's are usually small.
    Now your user files! That could use some thinning for sure! Especially stuff you don't use that often and Video files which take up a lot of space.
    You can buy a external USB drive at any office / computer supply store and just plug it in and backup files via drag and drop.
    What happens when you plug in a drive is TimeMachine will pop up and ask to make it a TimeMachine drive, this just backups up everything on your computer to restore from in case your OS X or boot drive fails. It's a image of your drive and so whatever is on the boot drive is on the TM drive. So that doesn't server your purpose which is you want to free some space off your main boot drive.
    However you should get another drive and allow TM to do it's thing to that drive, also to make a hold option bootable clone of your boot drive (using yet another external drive) using Carbon Copy Cloner or SuperDuper so in case your boot drive fails you can quickly and easily boot off the clone and have a working machine right away.
    One of the posters here has a excellent instructions what does what, both should be used to backup your data.
    http://web.me.com/pondini/Time_Machine/Clones.html

  • I am using the database connectivity toolkit to retrieve data using a SQL query. The database has 1 million records, I am retrieving 4000 records from the database and the results are taking too long to get, is there any way of speeding it up?

    I am using the "fetch all" vi to do this, but it is retrieving one record at a time, (if you examine the block diagram) How can i retrieve all records in a faster more efficient manner?

    If this isn't faster than your previous method, then I think you found the wrong example. If you have the Database Connectivity Toolkit installed, then go to the LabVIEW Help menu and select "Find Examples". It defaults to searching for tasks, so open the "Communicating with External Applications" and "Databases" and open the Read All Data. The List Column names just gives the correct header to the resulting table and is a fast operation. That's not what you are supposed to be looking at ... it's the DBTools Select All Data subVI that is the important one. If you open it and look at its diagram, you'll see that it uses a completely different set of ADO methods and properties to retrieve all the data.

  • HT4059 I have IPad Air. I use Drop Box. Downloaded manuscript with Ipad air does not down load completely, no images. I  used Ipages, and Files Pro. Mac IOS does it and windows XP.

    when I download a manuscript from my DropBox to My  Ipad air, it does not open Images and some contents are not aligned, yet if  I  download from MyMac or XP it works. On  Ipad air I have used the Dropbox, Pages and files Pro. What is wrong?

    There is an Apple document which specifies that key 1 should be used for WEP configuration and recommends using WPA or WPA2 for wireless security: iPad: Troubleshooting Wi-Fi networks and connections. It's too bad that you didn't find this when you had problems.
    The iPad will work with WPA-TKIP or WPA2-AES. AES provides much stronger security. There is much misinformation on the Internet on this subject.
    WEP is insecure, obsolete and has been deprecated by the IEEE since 2004. There is no chance that Apple or anyone else will waste resources on enhancing WEP implementations. For more information on the tattered history and vulnerabilities of WEP read this: WEP - Wired Equivalent Privacy
    I'm glad to hear that you got your system working. Your post was well-written and might help someone else.

  • Runtime.exec() - using cp and files with spaces on unix

    I'm using the Runtime.exec method to copy files in a unix environment. This works fine until there is a file where the name has spaces in it. I've read the article on the pitfalls of using runtime and how it breaks a string on white spaces and this is what is happening. I've also found another topic that was having the same problem, but they were using /usr/bin/dos2unix. I've tried putting quotes around the filename, but it still breaks on the first space. Any suggestions on how to get around this or another way of doing this would be greatly appreciated.
    An example of the os command string is:
    /usr/bin/cp /tmp/file with space.doc /docs
    Thanks!

    Hi!
    Well I dont have any Sun machine right here to try this but in windows It works great.
    Have you tried something like this ?
    import java.io.*;
    public class OSCopy {
        public static void main(String[] args) {
            try {
                String space = " ";
                String copycmd = "E:\\cp.cmd";
                String source = "E:\\File with space.txt";
                String destination = "E:\\tmp";
                String cmd = copycmd + space + "\"" + source + "\"" + space + destination;
                System.out.println("cmd: " + cmd);
                Runtime runtime = Runtime.getRuntime();
                Process copy = runtime.exec( cmd );
                BufferedReader reader = new BufferedReader( new InputStreamReader( copy.getInputStream()) );
                String line = null;
                while( (line = reader.readLine()) != null ) {
                    System.out.println( line );
            catch (Exception e) {
                e.printStackTrace();
    cp.cmd is a simple dos copy command
    copy %1 %2
    */good luck!

  • Using Spotlight and file tags on older systems

    I use a Macbook Pro on a daily basis which runs Yosemite, and I also archive a lot of media files on a small Mac Mini server which runs Snow Leopard. Due to hardware limitations, I can not install any newer operating system on the server. On my laptop, I make heavy use of tagging which is tremendously helpful for keeping stuff organized. When I move files over to the server, I'm pleasantly surprised to see that the tags don't disappear from the file metadata. However, if I do a Spotlight search on the server and search by tag, the results come up empty. The most likely explanation for this is because Finder (on my laptop) is using the Mac Mini's Spotlight deamon to conduct a query and the Mac Mini has no idea what tags are. My question is this: Is there a way that I can get Spotlight on my laptop to index the drive on the Mac Mini server without depending on the server's Spotlight deamon?

    Doing a disk repair should be OK, but don't do a permissions repair with the 10.4 disk on a 10.3 system. It might be fine, but it's possible that it might mis-set some permissions.

  • Re: How can I filter out email and website results from search results?

    I can't seem to add a further question to my original question.
    Although with your help I found how to select (and drag!) Spotlightcategories, the next time I went to search, it used different parameters than those I'd selected. For example, I'd unchecked Mail and web pages entirely, yet mail appeared second in the search results and web pages at the bottom.
    If I don't click that you helped me this time, it's because I want to keep the discussion open until I am SURE I've fixed it.
    Thank you.

    Setting 'Spotlight' preferences and using it to search seems to be the best answer, because it sorts results by type.
    , System Preferences, Personal, Spotlight, Search Results (or clicking Spotlight Preferences at the bottom of an active search) lets you control search results by types of files quite specifically:
    Message was edited by: kostby

  • How to do archieve using SARA and FILE transaction

    Hi,
    I am using ECC6. i have requirement to do archiving. Please suggest me how to do archive using FILE and SARA.
    Regards,
    Asif

    Hi Asif
    Please go through the following links..
    http://www.sap-basis-abap.com/sapta009.htm
    Re: archiving data through SARA tcode
    If you face any problem , search notes with SARA, you will get enough infromation.
    Hope this helps.
    Thanks
    Anindya

  • Save as swf file using httpconnection and file io

    I have one application which is fatch the swf file from web and i want to save as in same to swf file format.
    when i have fatch the swf file and save as .swf format i have unable to view as flash animation in browser and micromedia.
    Anyone suggest me ?
    URL url = new URL("http://nileshpatel.com/abc.swf");
    HttpURLConnection con = (HttpURLConnection) url.openConnection();
    con.setRequestProperty( "User-Agent", "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)" );
    BufferedReader rd;
    rd = new BufferedReader(new InputStreamReader(con.getInputStream()));
    String line="";
    String content="";
    File f = new File("users/nileshpatel/neo.swf");
    FileWriter fw = new FileWriter(f);
    while ((line = rd.readLine()) != null) {
    content += line;
    rd.close();
    fw.write(content);
    fw.close();
    ############################################################

    BTW sometimes flash uses communication with server to obtain some information before/during running. In such case you'll need to provide kind of your own HTTP server, pass swf to browser using HTTP protocol (not directly from HDD) then pass all additional data.
    Hope this is not your case :)

  • How to use AL11 and FILE

    Hi gurus,
    I am trying to output a file from BW. And in the future this process need to be automated.
    I used OPEN DATASET ** FOR OUTPUT IN TEXT MODE in the code. I was told that I can find the file throught FILE and I can define the path in AL11. So now I got access to FILE and AL11, Can anyone kindly tell me what should I do there exactly? And advise me how to automate this process? Thanks a lot, points will be awarded definitely.
    Jenny

    In FILE you defined a logical file, it is useful when path names change from one server to other, then you can refer to logical filename instead of phisical file.

  • Linking three databases and combing results into one resultset

    Hi Folks,
    I would like to receive input of respectable members of this forum for this problem. Please see details below and let me know what would be the best approach to implement it.
    Problem statement:I need to present data from three Oracle databases in the form of a report based upon parameter values entered by users.
    Problem Details:I have three tables which have same structure but different data. Each table is in a different database, i-e:
    DB1.TableX (say: DB1 holds data for Europe)
    DB2.TableX (DB2 holds data for Asia)
    DB3.TableX (DB3 holds data for North America)
    User Parameters:If p_country = 'ENGLAND' then go and fetch data from DB1.TableX only
    If p_country in ('ENGLAND', 'U.S.A') then go and fetch data from DB1.TableX and DB3.TableX etc.
    Users:Users of DB1, DB2 ,and DB3 will be running this report from their respective dbs so users of DB1 will be able to see data of DB2 and DB3 as well and the vice versa.

    dreporter wrote:
    User Parameters:If p_country = 'ENGLAND' then go and fetch data from DB1.TableX only
    If p_country in ('ENGLAND', 'U.S.A') then go and fetch data from DB1.TableX and DB3.TableX etc.You do not want to hit and process remote tables when they do not have the required rows.
    There's an old feature, dating back to Oracle v7 and still around, called partitioned views. Simply put, you create a view on the tables by using union all.
    A constraint per table specify the expected rows in that table. Oracle's CBO uses this constraint to determine which tables in the partition view to query (assuming of course the constraint column is used).
    For example, you have 5 organisations (same table structure) and a table per organisation. You add a organisation column to each of the tables, with a constraint on the column specifying which organisation's data is in that table. So table1 will have a check constraint on ORG_CODE that says 'BBC', and table2 will have the same constraint with value 'CNN', and table3 will have constraint with value 'SKY', etc.
    The partition view is a plain vanilla view. E.g.
    <i>create or replace view organisations as
    select * from table1 union all
    select * from table2 union all
    select * from table3 union all
    select * from table4 union all
    select * from table5</i>
    If you now query the partition view and use ORG_CODE = 'SKY', then only table3 will be queried and the other tables will not (the CBO prunes the other tables from the view using a special predicate).
    This works pretty well - especially when you only have Oracle Standard Edition. The question though is whether this will work across db links. But it is worth finding out and having a look at this option.

  • Using BitLocker and File History

    I understand that Microsoft has posed restrictions on the use of File History on device encrypted with BitLocker. It seems not possible to use a Networked device but also a USB Harddisk seems not to be supported.
    Where can I find a complete overview under which circumstances File History will work? Are there additional policy settings that I could tweak? I don't mind that the history files are not encrypted. They sit on a tightly secured server that nobody else has
    access to.
    (cross-posted from
    http://answers.microsoft.com/en-us/windows/forum/windows8_1-security/file-history-from-a-bitlocker-device)

    Hi,
    Actually, the screenshot above doesn't indicate that this issue is caused by Bitlocker, it mentioned something about EFS, network location and NTFS files system. but according to your description, I would suggest you temporarily turn off the bitlocker, and
    check if it is the root cause.
    We can also recorded log in Event Viewer to find more information about this issue, Event Viewer\Applications and Services Logs\Microsoft\Windows\File History-Core or File History-Engine.
    You can also manually check the copies of File History on the destination drive, and check the settings of File History\Advanced Settings, saved copies of files,  size of offline cache, keep saved versions.
    Yolanda Zhu
    TechNet Community Support

Maybe you are looking for

  • Importing scanned photos from DVD

    I just downloaded PSE 9 and I'm trying to import three dvd's of scanned photos.  PSE 9  fails to import the 2nd and 3rd dvd's becasue the photo ID is the same on disc 2 and 3 (each photo is just sequentially numbers 1,2,3,etc.)  Can someone please te

  • Connecting my pc ipod to my new macbook

    I was just wondering if this was even possible??? I got the new ipod video for christmas last year, and just this week i got the new macbook. Please help me, i cant figure out how to make itunes recognize my ipod. the ipod says it is connected. what

  • Balance sheet in XBRL format.

    Hi,    I want to present balance sheet in XBRL format is it possble to do in ECC 5.0  ?? If yes then please  suggest the steps for it. Plesase help me !! ASAP Thanks in advance !! Moderator message: relation to ABAP development unclear, please do mor

  • Tarantella 3.42 and the new DST

    Does anyone know if tarantella 3.42 will be impacted because of the changes in Daylight Savings Time??

  • Microsoft word can't run because already in use

    When I try to use Word it often won't let me continue and gives me the message that "word can't continue because Microsoft Office is already in use." Just bought this Mac a few weeks ago and Apple transferred Word from existing Mac to this one. Even