Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

RE: [PHP-DB] Fulltext SELECTing only part of a field entry

I guess you will still need to get the whole texts, but do the selecting
befores displaying results. There are functions to to select an amount of
text of certain lenght, starting at certain point of the string.

-----Original Message-----
From: benmoreassynt [mailto:roland@tannerritchie.com]
Sent: Viernes, 24 de Noviembre de 2006 11:59 a.m.
To: php-db@lists.php.net
Subject: [PHP-DB] Fulltext SELECTing only part of a field entry


Hi,

Not really sure if this is possible.

I am using a fulltext search to search through very large entries. Basically
an entry might contain 200,000 words, which are searched for exact matches.

What I want to do is SELECT, say, the 300 words surrounding the exact match
from the 200,000 word entry and pass it to a PHP script, rather than
passing the entire 200,000 words to the script.

Am I explaining myself clearly? In other words I want to limit the amount of
text SELECTed, so that I am not wasting memory, etc, by passing huge
strings to PHP.

Is it possible? I've done a lot of looking, but the MySQL documentation is
pretty limited on fulltext. If it is possible, can anyone give me a rough
idea of how to go about it?

The end result would be the sort of contextual search text results that you
get in a Google search.

Many thanks

BMA

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Este mensaje es exclusivamente para el uso de la persona o entidad a quien e
sta dirigido; contiene informacion estrictamente confidencial y legalmente p
rotegida, cuya divulgacion es sancionada por la ley. Si el lector de este me
nsaje no es a quien esta di
rigido, ni se trata del empleado o agente responsable de esta informacion, s
e le notifica por medio del presente, que su reproduccion y distribucion, es
ta estrictamente prohibida. Si Usted recibio este comunicado por error, favo
r de notificarlo inmediatam
ente al remitente y destruir el mensaje. Todas las opiniones contenidas en e
ste mail son propias del autor del mensaje y no necesariamente coinciden con
 las de Radiomovil Dipsa, S.A. de C.V. o alguna de sus empresas controladas,
 controladoras, afiliadas y
subsidiarias. Este mensaje intencionalmente no contiene acentos.

This message is for the sole use of the person or entity to whom it is being
 sent.  Therefore, it contains strictly confidential and legally protected m
aterial whose disclosure is subject to penalty by law.  If the person readin
g this message is not the o
ne to whom it is being sent and/or is not an employee or the responsible age
nt for this information, this person is herein notified that any unauthorize
d dissemination, distribution or copying of the materials included in this f
acsimile is strictly prohib
ited.  If you received this document by mistake please notify  immediately t
o the subscriber and destroy the message. Any opinions contained in this e-m
ail are those of the author of the message and do not necessarily coincide w
ith those of Radiomovil Dip
sa, S.A. de C.V. or any of its control, controlled, affiliates and subsidiar
ies companies. No part of this message or attachments may be used or reprodu
ced in any manner whatsoever.

Report this thread to moderator Post Follow-up to this message
Old Post
Miguel Guirao
11-24-06 11:56 PM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

PHP DB archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 05:09 AM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.