Is it possible to use an exact phrase and a wildcard in the same query

I am building an address finder, and i have an option where the user can enter part or a full uk postcode. There is a ctxcat index on the address field. I am having a problem searching for part of the postcode, if i enter 'ZZ1 2*' it finds all ZZ1 and all house number 2's if i enter ' " ZZ1 2"*' it fails with an error, is this a bug or is it not possibl to use the exact phrasing and wildcard at the same time.
If its not possible can anyone suggest another way round this query.
Thank

hi,
in my table i have a column called address,
these would contain something along the lines of these 2 records.
10 high street anytown ZZ1 3ZZ
3 bridge street anytown ZZ1 8ZZ
If searching on the postcode, the user may enter ZZ1 3 at the moment this would bring back both records, the first one from the ZZ1 and the second one from the house number 3. however if ZZ1 3 is entered i am wanting to just search on the postcode, so it would only match on the first record. so i would like to put the double quotes round the "ZZ1 3" to match on the exact phrase, but then no records come back because of the two letters after the 3, this was why i am asking about the wildcards after the exact phrase ,atch, so it can match the exact phrase of 'ZZ1 3' but then allow any characters after that.
hope this explaings my problem a bit better.

Similar Messages

  • Using join and batch reading in the same query

    Hi,
    I wonder if it is possible to use "Joining" and "batch reading" in the same query.
    For example I Have
    A -> 1-1 B
    A -> 1-1 B
    B -> 1-M C
    This is the case where I have two separate 1-1 relationships to the same class B from A. Toplink 10.0.3 can manage it nicely through joining.
    Now, I would like to read a set of As (with its 2 Bs) and all Cs for each B.
    It seems that the following configuration does not work:
    A -> 1-1 B (use joining)
    A -> 1-1 B (use joining)
    B -> 1-M C (Batch read)
    Any help would be greatly appreciated
    Tony.

    James,
    Would you be so kind to look at the following code?
    Am I formulating it correctly to achieve my desired behavior?
    Trip.class -> 1-1 PickupStop
    Trip.class -> 1-1 DropoffStop
    PickupStop and DropoffStop extend Stop and use same table (STOP)
    Stop -> 1-M StopEvents
    I would like to fetch all Trips, with their Stops and all StopEvents in 2 queries:
    1. Trip joined with Stop
    2. Batchread StopEvents
    Code:
    ReadAllQuery raq = new ReadAllQuery(Trip.class);
    Expression qexp1 = new ExpressionBuilder();
    Expression qexp2 = new ExpressionBuilder();
    raq.addJoinedAttribute("pickupStop");
    raq.addJoinedAttribute("dropoffStop");
    raq.addBatchReadAttribute(qexp1.get("pickupStop").get("vStopEvents"));
    raq.addBatchReadAttribute(qexp2.get("dropoffStop").get("vStopEvents"));

  • Is it possible to output to div monitor and s-video at the same time?

    I'm editing video and want to see the broadcast results on the fly (ie monitor and tv side by side, same image onscreen). Is it possible to output to div monitor and s-video at the same time? Maybe thru a splitter cable. I'm concerned about resolution issues.

    This is not possible with a mini.

  • Is it possible to run LabVIEW 7.1 and 8.5 under the same Windows installation?

    We have an older version of LabVIEW (7.1) which includes functionality for Event Notifications and the base version of LV8.3, which does not seem to contain this functionality. 
    Is it possible to run both of these from the same Windows Installation?  If not I plan to create a new partition and a new Windows installation just to accomodate the two of them.

    Something else to consider is windows compatibility. If you are running LabVIEW on Vista, I would highly discourage installation of Lv 7.1 and 8.5 on the same machine (even if they were different partitions), since there are some significant issues in terms harware compatibility.I am running windows 7.1 and 8.2.1 on a test station with no problems, but the OS is Win XP. My biggest gripe about the dual software system is when a v 7.1 files is opened up by 8.2.1. There is not a system to prevent it from happening, and once we accidentally save a 7.1 app in 8.2,1, going back to 7.1 is a big headache.  

  • Possible to use stsadm export / import to copy subsite to the same site with diff subsite name?

    In the same site is that possible to use stsadm export/import to copy subsite to a new diff subsite name?
    I do not want to use the SaveAs Template method, I need command mode.

    You should create an empty site.
    Go to your site collection and click siteactions --> new site --> Select custom template, click create.
    Here you choose meeting2 as Title/url
    Now execute your import command (Import-SPWeb http://vee:111/meeting2 -Path
    C:\temp\meeting_exp.cmp -UpdateVersions -Overwrite) 
    Now wait, when the import is finished, check your site!
    That should do it.

  • How can i use an barcode scanner and a keyboard at the same time on Ipad

    HI I am looking to find a way to use a barcode scanner and the on screen key bard at the same time, so far i cant seem to find a way to do it.
    Does any one know how this can be done.
    thanks

    It is possible, I use multiple versions, however Firefox official policy is that you use firefox3.6 or 5 ; not firefox 4 which is not secure and not supported.
    The easiest solution may be to use firefox portable http://portableapps.com/apps/internet/firefox_portable/localization#legacy36 although firefox 3.6 will itself not be supported for much longer.

  • Is it possible to have multiple page sizes and print types in the same pdf?

    Is it really possible to have a pdf which has multiple pages and each of them have pages which are of different page sizes (e.g. letter, A4, A3) and print types (e.g. Simplex, Duplex)???
    Thanks,
    Phoenix

    you can definately do different page sizes by using different master pages. You can set the paper type for each master page in the object>master page palette.

  • Using LabVIEW 7.1 and LabVIEW 2010 on the same PC (Windows XP)

    I have LabVIEW 7.1 on a Windows XP 32-bit PC and we plan to upgrade to LabVIEW 2010 soon. A lot of our software is using Traditional DAQ, DAQmx and DeviceNet. We need to use both versions of LabVIEW for some time on the same PC. Is this possible at all?
    I installed an evaluation 2010 version and now I don't have DAQ and DeviceNet in LabVIEW 7.1. Any suggestions will be very helpful.
    Thanks, Nick
    Solved!
    Go to Solution.

    For what it is worth, I tried having multiple versions of LabVIEW on the same PC.  If you are (very) careful, it is possible to do so, as long as you are only doing development work, i.e. you don't try and install LabVIEW drivers.  However, as I've discovered to my great sorrow (which involved installing and removing various versions of LabVIEW on the same machine probably 5-8 times, eventually leading to wiping the machine and installing WinXP all over again, then only one version of LabVIEW), if you want to actually run your code, particularly if it does anything with hardware, you need to stick to one version!
    There's another "gotcha" for those of us working with "older" versions (namely before 2009, though one can "trick" 8.6 if you're careful) -- Windows 7 doesn't "play well" with the older software!
    So my development machine runs Windows 7.  I have a VM of Windows XP in which I installed LabVIEW 7, which I use for my "legacy" work -- I use the Win 7 machine for LabVIEW 8.6, 2009, and 2010 development (and only development, see above).
    The machine that got "rebuilt", where I wanted to run LabVIEW code for various hardware and potentially various LabVIEW versions, I did a really nutty thing -- I created a quadruple-boot PC!  (It really is a triple-booter, as the Windows 7 system, which is the key step, is "hidden").  To make this work properly, I needed three hard drives in the machine (one for each OS -- I might have figured out how to put two XPs on a single drive, but since I already had the disks, one-OS-per-disk seemed easier).  I'm using Windows 7's Boot Loader to give me the startup choice of which system to use (the message says something like "System for Hardware A", "System for Hardware B", "Test System").  True, you need to do a Restart, but since you're going to be collecting data, it's not such a bad idea to start with a "fresh machine".
    [I did think about doing this with Virtual Machines, which would have been much simpler, but I didn't have "virtual drivers" for the hardware!  One piece was actually a USB device, but the other was a proprietary device that plugged into my PC ...]

  • Using a PowerPc G5 and Mac Mini with the same display, keyboard and mouse

    I have a G5 PowerPC and a new Mac Mini. I wanted a good KVM switch so that I can use the same display, keyboard and mouse with both machines. Any suggestions?

    IOGear, Trendware and Startech.
    I'd stick with IOGear.

  • Can we use two hierarchies off a single characteristic in the same query?

    Dear Bwers,
    I have a requirement where the user wants to see a query with two hierarchies at the same time on a single characteristic.Is this possible? If so please let me know how to model them in BW?
    Thanks for all the help in advance
    Raj

    Maybe you can create a copy of this characteristic and then create another hierarchy on this one.

  • Using Oracle 9i Client and 10g Server on the same box

    Hi,
    All our applications are compiled using oracle 9i and the proc compiler for oracle 9i.
    However we run the applications against a 10g database which has oracle9i and 10g co-hosted on the same both. We achieve this by using the oracle 9 libclntsh.so shared library which uses shared memory (I assume) rather than having a listener and tnsnames.ora entry.
    My question is, is it support by oracle.
    Thanks,
    Iain

    You can achieve this by install them into different ORACLE_HOME

  • Using Java 1.4 and 1.2 on the same workstation

    I have applicaitons that require JRE 1.2 and applications that require JRE 1.4. Is it possible to switch between the two? If so, how would one do it? The 1.2 applications will not work in 1.4 unfortunately.

    The gotcha here is under windows (naturally)
    Another copy of java.exe is placed into the system32 directory by
    the installer. If this version is executed it queries the registry for
    java version information - in your scenario you don't want that behavior,
    because you sometimes want one version, sometimes another.
    This directory is always on the system classpath, so you either
    need to delete the rogue copy of java.exe, (I recommend that)
    or be careful as you play with the path, that the jrehome\bin places
    you use are ahead of winnt\system32.
    see my post at:
    http://forum.java.sun.com/thread.jsp?forum=37&thread=222690&message=795061#795061
    for the details

  • I want to use both call transaction and session method in the same

    Hi,
              1. I want to use call transaction and session method in a single trans..how to do?
              2. I have 1000 records in it 500 records is updated using call transaction remaining 500 i hve to update with session how to do?
              3. Multiple transaction is possible in call transaction how?

    I suggest you try fulfilling your requirements yourself and come back with specific problems along the way.

  • Odd problem using mini display cord and power cord at the same time

    When i connect my mbp to a monitor/tv while running on ac the macbook freezes totally. As soon as i plug in the power cord while running an external monitor the cpu usage goes crazy. Kernal task reporting 100.1 % cpu usage and also high cpu usage (powered, syslogd and configd). The only way to unfreeze the macbook is to unplug the power cord. When i do this the laptop runs perfectly fine again while connected to my monitor.
    The odd thing is that it was running totally fine a few hours ago. but after waking up my mac its showing this issue.
    Would love to get feedback.
    Thanks

    I use a KVM switch with a Dell monitor that has DVI and VGA inputs. I only route the K an M portions (keyboard and mouse) through the switch. The computers connect directly via VGA and DVI to the Monitor, and then I use the monitor's switch to make the video switch. Works fine. Don't worry about taxing the monitor.
    I'd suggest buying the KVM switch from a vendor with easy return policies, since it can take a few tries to find a model you like.

  • Using AE as router and AirTunes streaming at the same time

    Hi,
    Hopefully quite an easy yes/no question here! Can an AirPort Express be used as both a router and for AirTunes simultaneously?
    Thanks,
    :-Joe

    Sure, as long as your printer is compatible. (You won't really know if that's the case unless you try).
    In case you run into difficulties with this, here is Apple's Printer Troubleshooting Guide for this.

Maybe you are looking for