Hi Spike, I am not that familiar with Fields, but I have seen similar behaviour with other searches. This usually indicates you are not doing exact searches. Have you tried adding "exact" as an option? Otherwise it might assume the passes search string is a phrase and apply cts:tokenize on it..
Kind regards, Geert > Drs. G.P.H. Josten Consultant http://www.daidalos.nl/ Daidalos BV Source of Innovation Hoekeindsehof 1-4 2665 JZ Bleiswijk Tel.: +31 (0) 10 850 1200 Fax: +31 (0) 10 850 1199 http://www.daidalos.nl/ KvK 27164984 De informatie - verzonden in of met dit emailbericht - is afkomstig van Daidalos BV en is uitsluitend bestemd voor de geadresseerde. Indien u dit bericht onbedoeld hebt ontvangen, verzoeken wij u het te verwijderen. Aan dit bericht kunnen geen rechten worden ontleend. > From: [email protected] > [mailto:[email protected]] On Behalf Of > Grobstein, Spike > Sent: donderdag 5 november 2009 17:57 > To: [email protected] > Subject: [MarkLogic Dev General] fields where the contents is a URL > > I've got a Field configured in my database that I want to do > field-words() queries against, but the contents of the > element is a URL. It seems that when I do searches, the field > is the URL broken up by symbol. For example: > > > > http://www.facebook.com/Seal?sid=01cfb667e33bd4a46d3460853fbf3 > fe7&ref=search > > > > is translated into the following fieldwords: > > * http > * www > * facebook > * com > * Seal > * Sid > * 01cfb667e33bd4a46d3460853fbf3fe7 > * ref > * search > > > > Is there a way around this? Should I not be using Fields? > > > > I need to be able to do queries based on the full URL. > > > > Thanks! > > > > > > .spike > > Spike Grobstein > > _______________________________________________ General mailing list [email protected] http://xqzone.com/mailman/listinfo/general
