Displaying 5 results from an estimated 5 matches for "unhtml".
Did you mean:
html
2006 Mar 29
1
Using boolean terms in PHP bindings
...y field. Do I need to do anything to
the data itself? Like, literally prefix it with the characters "XC"?
Below is my indexor for scriptindex and the my php code...
document_id : field=ref unique=Q boolean=Q
search_id : field=document_id index=S
document_title : field=title weight=3 unhtml index
landing_page : field=landing_page
document_text : field=document_text unhtml index
abstract: field=abstract
category: field=category boolean=XC
- - - - - -
php
- - - - - -
//load the module
dl ("xapian.so");
//report all errors
error_reporting (E_ALL);
$db...
2006 Nov 30
1
PHP / XapianQueryParser
...eadable format (I'm using that on my Windows machine, I can just exchange the DB's between linux/windows for now, great!).
For anyone interested in some simple example code, check below. I've tried to convert a php4 example to the PHP5 one.
My only problem right now is this:
keywords: unhtml index lower truncate=255 field=keywordsdesc: unhtml index lower truncate=255 field=desc url: unhtml field=url unique=Q boolean=Qcontent: unhtml weight=4 index field=content
This is the format for scriptindex. When I search my code with
<?include "xapian.php";$db = "db/sitedb"...
2006 Apr 02
1
About field weight
...ur votre Mac ou votre PC, puis
synchronisez-les sur votre iPod. Autonomie jusque 20 heures. Ecran TFT 320 x
240 pixels. Dim. 10,3 x 6,1 x 1,4 cm.
- I don't understand howcome the 6th results is not in first position.
Indeed, here is a part of my scriptindex configuration :
name: weight=5 unhtml index index=S field=caption
description: weight=1 unhtml index field=sample
that means *name* should be considered 5 times more relevant than
*description*, isn't it ?
Maybe I should have put higher weight to the *name* field ? like 20 or 100
instead of 5 ?
Thanks in advance !
--
David LEVY...
2008 Jan 15
7
PHP indexing, what's the PHP method for indexscript
Currently I have the following indexscript:
pid : unique=Q boolean=Q field=pid
postdate : field=startdate
author_name: unhtml boolean=XAUTHORNAME field=author
author_id: boolean=XAUTHORID field=authorid
url : field=url
sample : weight=1 index field=sample
How can I create the same indexing using PHP?
With this, I can get an searchable index, but I have no idea how to set the fields, so that I can actually GET somethin...
2010 Mar 24
1
Omega: behavior msize when collapsing results
...P
property: field=property boolean=XPROPERTY
colour: field=colour boolean=XCOLOUR
size: field=size boolean=XSIZE
colourandsize: field=size boolean=XCOLOURANDSIZE
norm: field=norm boolean=XNORM
picture: field=picture
sort: valuenumeric=1 field=sort
icon: field=icon boolean=XICON
preview: unhtml truncate=200 field=preview
My Omega command looks like this:
FMT=xml DEFAULTOP=OR HITSPERPAGE=9 MINHITS=900 SORT=1 SORTREVERSE=1
COLLAPSE=0 B=LNL B=XTYPEproduct P='(catalog:2 OR catalog:425) AND
productgroup:6'
So in plain English, I am requesting all products from catalogs 2 and
425 in...