lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nick Koton" <nick.ko...@gmail.com>
Subject SOLR 4 BEAT - More Like This
Date Tue, 28 Aug 2012 11:47:57 GMT
I am having difficulty getting MLT to work with a cloud configuration in
SOLR 4 beta.  I have reproduced it with the "example" schema and data from
the distribution:
http://hostname:8983/solr/example/select?
q=id:VDBDB1A16&mlt=true&mlt.fl=text,features,name,sku,id,manu,cat,title,desc
ription,keywords,author,resourcename

When I direct this at a single instance SOLR server I get the first response
below while the second response shows the cloud system's response.  The
"moreLikeThis" section is missing.  However, if I make an error in the query
syntax (like missing mlt.fl) I see the error from both.

Is anyone else seeing similar behavior?

Nick Koton


STANALONE RESPONSE

<?xml version="1.0" encoding="UTF-8"?>
-<response> -<lst name="responseHeader"><int name="status">0</int><int
name="QTime">5</int>-<lst name="params"><str name="mlt">true</str><str
name="q">id:VDBDB1A16</str><str
name="mlt.fl">text,features,name,sku,id,manu,cat,title,description,keywords,
author,resourcename</str></lst></lst>-<result name="response" start="0"
numFound="1">-<doc><str name="id">VDBDB1A16</str><str name="name">A-DATA
V-Series 1GB 184-Pin DDR SDRAM Unbuffered DDR 400 (PC 3200) System Memory -
OEM</str><str name="manu">A-DATA Technology Inc.</str><str
name="manu_id_s">corsair</str>-<arr
name="cat"><str>electronics</str><str>memory</str></arr>-<arr
name="features"><str>CAS latency 3, 2.7v</str></arr><int
name="popularity">0</int><bool name="inStock">true</bool><str
name="store">45.18414,-93.88141</str><date
name="manufacturedate_dt">2006-02-13T15:26:37Z</date><str
name="payloads">electronics|0.9 memory|0.1</str><long
name="_version_">1411477698415427584</long></doc></result>-<lst
name="moreLikeThis">-<result name="VDBDB1A16" start="0"
numFound="4">-<doc><str name="id">VS1GB400C3</str><str name="name">CORSAIR
ValueSelect 1GB 184-Pin DDR SDRAM Unbuffered DDR 400 (PC 3200) System Memory
- Retail</str><str name="manu">Corsair Microsystems Inc.</str><str
name="manu_id_s">corsair</str>-<arr
name="cat"><str>electronics</str><str>memory</str></arr><float
name="price">74.99</float><str name="price_c">74.99,USD</str><int
name="popularity">7</int><bool name="inStock">true</bool><str
name="store">37.7752,-100.0232</str><date
name="manufacturedate_dt">2006-02-13T15:26:37Z</date><str
name="payloads">electronics|4.0 memory|2.0</str><long
name="_version_">1411477698411233280</long></doc>-<doc><str
name="id">TWINX2048-3200PRO</str><str name="name">CORSAIR XMS 2GB (2 x 1GB)
184-Pin DDR SDRAM Unbuffered DDR 400 (PC 3200) Dual Channel Kit System
Memory - Retail</str><str name="manu">Corsair Microsystems Inc.</str><str
name="manu_id_s">corsair</str>-<arr
name="cat"><str>electronics</str><str>memory</str></arr>-<arr
name="features"><str>CAS latency 2, 2-3-3-6 timing, 2.75v, unbuffered,
heat-spreader</str></arr><float name="price">185.0</float><str
name="price_c">185,USD</str><int name="popularity">5</int><bool
name="inStock">true</bool><str name="store">37.7752,-122.4232</str><date
name="manufacturedate_dt">2006-02-13T15:26:37Z</date><str
name="payloads">electronics|6.0 memory|3.0</str><long
name="_version_">1411477698403893248</long></doc>-<doc><str
name="id">0579B002</str><str name="name">Canon PIXMA MP500 All-In-One Photo
Printer</str><str name="manu">Canon Inc.</str><str
name="manu_id_s">canon</str>-<arr
name="cat"><str>electronics</str><str>multifunction
printer</str><str>printer</str><str>scanner</str><str>copier</str></arr>-<ar
r name="features"><str>Multifunction ink-jet color photo
printer</str><str>Flatbed scanner, optical scan resolution of 1,200 x 2,400
dpi</str><str>2.5" color LCD preview screen</str><str>Duplex
Copying</str><str>Printing speed up to 29ppm black, 19ppm
color</str><str>Hi-Speed USB</str><str>memory card: CompactFlash,
Micro
Drive, SmartMedia, Memory Stick, Memory Stick Pro, SD Card, and
MultiMediaCard</str></arr><float name="weight">352.0</float><float
name="price">179.99</float><str name="price_c">179.99,USD</str><int
name="popularity">6</int><bool name="inStock">true</bool><str
name="store">45.19214,-93.89941</str><long
name="_version_">1411477698464710656</long></doc>-<doc><str
name="id">EN7800GTX/2DHTV/256M</str><str name="name">ASUS Extreme
N7800GTX/2DHTV (256 MB)</str><str name="manu">ASUS Computer Inc.</str><str
name="manu_id_s">asus</str>-<arr
name="cat"><str>electronics</str><str>graphics card</str></arr>-<arr
name="features"><str>NVIDIA GeForce 7800 GTX GPU/VPU clocked at
486MHz</str><str>256MB GDDR3 Memory clocked at 1.35GHz</str><str>PCI
Express
x16</str><str>Dual DVI connectors, HDTV out, video input</str><str>OpenGL
2.0, DirectX 9.0</str></arr><float name="weight">16.0</float><float
name="price">479.95</float><str name="price_c">479.95,USD</str><int
name="popularity">7</int><str name="store">40.7143,-74.006</str><bool
name="inStock">false</bool><date
name="manufacturedate_dt">2006-02-13T00:00:00Z</date><long
name="_version_">1411477698517139456</long></doc></result></lst>
</response>

CLOUD RESPONSE

<?xml version="1.0" encoding="UTF-8"?>
-<response> -<lst name="responseHeader"><int name="status">0</int><int
name="QTime">30</int>-<lst name="params"><str name="mlt">true</str><str
name="q">id:VDBDB1A16</str><str
name="mlt.fl">text,features,name,sku,id,manu,cat,title,description,keywords,
author,resourcename</str></lst></lst>-<result name="response"
maxScore="1.9162908" start="0" numFound="1">-<doc><str
name="id">VDBDB1A16</str><str name="name">A-DATA V-Series 1GB 184-Pin DDR
SDRAM Unbuffered DDR 400 (PC 3200) System Memory - OEM</str><str
name="manu">A-DATA Technology Inc.</str><str
name="manu_id_s">corsair</str>-<arr
name="cat"><str>electronics</str><str>memory</str></arr>-<arr
name="features"><str>CAS latency 3, 2.7v</str></arr><int
name="popularity">0</int><bool name="inStock">true</bool><str
name="store">45.18414,-93.88141</str><date
name="manufacturedate_dt">2006-02-13T15:26:37Z</date><str
name="payloads">electronics|0.9 memory|0.1</str><long
name="_version_">1411212567291887616</long></doc></result> </response>

Mime
View raw message