Search found 57 matches: fulltextsearch

Return to advanced search

Re: Fulltextsearch (to Marco Boschi)

Dear James, this is my code for full text search. Speed is very good. At the moment I only search the dbf-file. Now I thought if I could search fpt-file the same way too and could find out the record number the memoblock belongs would be great. But it seems not possible. Maybe I can store a unique i...
by Otto
Tue Nov 09, 2010 10:31 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Fulltextsearch (to Marco Boschi)
Replies: 36
Views: 9437

Re: Fulltextsearch (to Marco Boschi)

Dear James,
the WildMatch Frank descripts would match my necessity if I can include memofields.
I will do some tests with the code Frank posted.
Best regards,
Otto
by Otto
Tue Nov 09, 2010 9:55 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Fulltextsearch (to Marco Boschi)
Replies: 36
Views: 9437

Re: Fulltextsearch (to Marco Boschi)

Everyone, While all these samples are interesting and very useful, I am not sure we are addressing Otto's problem. Otto, we still need a description of what kind of search you need to do. Do you need to search for a single word in all memo fields, or maybe more than one word (AND, OR). Is there only...
by James Bott
Tue Nov 09, 2010 9:28 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Fulltextsearch (to Marco Boschi)
Replies: 36
Views: 9437

Re: Fulltextsearch (to Marco Boschi)

Have you looked at FTS indexes in ADS? The free local ADS version works perfectly with dbf/cdx file pairs. These indexes can be used on AOF's() and are very very fast.


Reinaldo.
by reinaldocrespo
Tue Nov 09, 2010 8:53 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Fulltextsearch (to Marco Boschi)
Replies: 36
Views: 9437

Re: Fulltextsearch (to Marco Boschi)

Gale, specially have the following scenario in mind: address table: Company, First, Last, Street, Zip, City, Telefon Index 1, ..., n: Company, First + Last, Last, Street, Zip, City, Telefon You need more than one HiPer-SEEK index, if you want to search separately in different fields, perhaps: HS-Ind...
by frose
Tue Nov 09, 2010 8:42 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Fulltextsearch (to Marco Boschi)
Replies: 36
Views: 9437

Re: Fulltextsearch (to Marco Boschi)

But when you need to search memo fields or all of the fields then it is nice to use Hyper-Seek indexing. Otto, To use Hyper-Seek you can either pass the string you want to add to the index using hs_add(), or you can index the whole file using 1 or more field names using hs_index(). This is from the ...
by Gale FORd
Tue Nov 09, 2010 7:51 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Fulltextsearch (to Marco Boschi)
Replies: 36
Views: 9437

Re: Fulltextsearch (to Marco Boschi)

Otto, take a look at this HiPer-SEEK example: // The example creates a new, populated HiPER-SEEK index for// a customer database.   PROCEDURE Main      LOCAL cIndex, nHandle      CLS      USE Customer ALIAS Cust      cIndex := 'Trim(Cust->LastName) +'      cIndex +=  '" "'      cIndex +...
by frose
Tue Nov 09, 2010 7:28 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Fulltextsearch (to Marco Boschi)
Replies: 36
Views: 9437

Re: Fulltextsearch (to Marco Boschi)

Hello James,
>Does this include memo fields?
Did you find out if memo fields are included?
Best regards,
Otto

Thanks to all for the help!
by Otto
Tue Nov 09, 2010 7:11 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Fulltextsearch (to Marco Boschi)
Replies: 36
Views: 9437

Re: Fulltextsearch (to Marco Boschi)

James and all other, here ist the syntax of: HS_Index( <cFileName>   , ;           <cExpression> , ;          [<nKeySize>]   , ;          [<nOpenMode>]  , ;          [<nBufferSize>], ;          [<lCaseInsens>], ;          [<nFilterSet>]   ) --> nErrorCode...
by frose
Tue Nov 09, 2010 7:00 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Fulltextsearch (to Marco Boschi)
Replies: 36
Views: 9437

Re: Fulltextsearch (to Marco Boschi)

Stefan,

In your example what is the var HS, an object, an order number?

Can these indexes be part of a single index file and be kept up automatically just like any other CDX index.

Regards,
James
by James Bott
Tue Nov 09, 2010 4:14 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Fulltextsearch (to Marco Boschi)
Replies: 36
Views: 9437

Re: Fulltextsearch (to Marco Boschi)

Hello
with xHarbour you have to use HSX.LIB

Maurizio
www.nipeservice.com
by Maurizio
Tue Nov 09, 2010 3:41 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Fulltextsearch (to Marco Boschi)
Replies: 36
Views: 9437

Re: Fulltextsearch (to Marco Boschi)

Stefan, HiPer-SEEK is available in free xharbour too. You can search a string over several fields. Does this include memo fields? Even so, I would think an index that indexes each word in a memo field would be much more efficient. This would be like a many-to-many relationship. Each word could be li...
by James Bott
Tue Nov 09, 2010 3:10 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Fulltextsearch (to Marco Boschi)
Replies: 36
Views: 9437

Re: Fulltextsearch (to Marco Boschi)

I believe it is only in the commercial version.
by Gale FORd
Tue Nov 09, 2010 2:38 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Fulltextsearch (to Marco Boschi)
Replies: 36
Views: 9437

Re: Fulltextsearch (to Marco Boschi)

I am getting HS_KEY, HS_FILTER as unresolved externals. What is/are the libaray(ies) I need to link to include these functions?
by nageswaragunupudi
Tue Nov 09, 2010 12:53 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Fulltextsearch (to Marco Boschi)
Replies: 36
Views: 9437

Re: Fulltextsearch (to Marco Boschi)

RMDBFCDX is only available in commercial xharbour, but you don´t need it to run the sample. Only if it is linked in, it´s used. You can also comment out these lines:
if ascan( rddList(1), "RMDBFCDX" ) != 0
rddSetDefault( "RMDBFCDX" )
endif
by StefanHaupt
Tue Nov 09, 2010 11:57 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Fulltextsearch (to Marco Boschi)
Replies: 36
Views: 9437
PreviousNext

Return to advanced search