lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e8en <e...@tokobagus.com>
Subject how to query a string using solr URL in the browser
Date Mon, 09 Aug 2010 07:43:50 GMT

hi everyone,
this is my solr query link and the result that showed in my browser where
ITEM_CAT = 1191

http://172.11.18.120:9000/search/select/?q=ITEM_CAT:1191&q.op=AND&start=0&rows=1000
<doc>
<int name="AP_AUC_PHOTO_AVAIL">1</int>
<double name="AUC_AD_PRICE">1.0</double>
<int name="ITEM_CLIENT_ID">27017</int>
<str name="ITEM_DESCR_SHORT">Bracket Ceiling untuk semua merk projector,
panjang 60-90 cm  Bahan Besi Cat Hitam = 325rb Bahan Sta</str>
<str
name="ITEM_HTML_DIR_NL">/aksesoris-batere-dan-tripod/update-bracket-projector-dan-lcd-plasma-tv-607136.html</str>
<int name="ITEM_ID">607136</int>
<str name="ITEM_ISNEGO">Nego</str>
<int name="ITEM_LOCATION">7</int>
<str name="ITEM_PHOTO">270/27017/bracket_lcd_plasma_3a-1274291780.JPG</str>
<str name="ITEM_START">2010-05-19 17:56:45</str>
<str name="ITEM_TITLE">[UPDATE] BRACKET Projector dan LCD/PLASMA TV</str>
<int name="ITEM_TYPE2">1</int>
<int name="PRO_BACKGROUND">0</int>
<int name="PRO_BOLD">0</int>
<int name="PRO_COLOR">0</int>
<int name="PRO_GALLERY">0</int>
<int name="PRO_LINK">0</int>
<int name="PRO_SPONSOR">0</int>
<int name="cat_id_sub">0</int>
<int name="sectioncode">28</int>
</doc>

what I want to ask is how to search a word for example "bracket" by changing
the url into this (see the bold):
http://172.11.18.120:9000/search/select/?q=text:bracket&q.op=AND&start=0&rows=1000

so it will resulted all ITEM_ID that has AUC_DESCR_SHORT & AUC_TITLE
containing "bracket" word

really really appreciate your help
thanks in advance

cheers,
Eben
-- 
View this message in context: http://lucene.472066.n3.nabble.com/how-to-query-a-string-using-solr-URL-in-the-browser-tp1052434p1052434.html
Sent from the Solr - User mailing list archive at Nabble.com.

Mime
View raw message