Eben,

Your URL was:

http://172.11.18.120:9000/search/select/?q=text:bracket&q.op=AND&start=0&rows=1000




change text:bracket to:

AUC_DESCR_SHORT:bracket AND AUC_TITLE:bracket

This will need to be URL-encoded, of course.

Otis
----
Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch
Lucene ecosystem search :: http://search-lucene.com/



----- Original Message ----
> From: e8en <e...@tokobagus.com>
> To: solr-user@lucene.apache.org
> Sent: Mon, August 9, 2010 3:43:50 AM
> Subject: how to query a string using solr URL in the browser
> 
> 
> 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
>0
> <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
>0
> 
> 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.
> 

Reply via email to