Re: How to do in Linux?

2011-10-31 Thread James Lin
you go to the same folder in linux and run it. How to do in Linux? On Tue, Nov 1, 2011 at 4:49 PM, 刘浪 wrote: > > Hey, > In windows: D:\solr\example\exampledocs>java -Durl= > http://localhost:8080/solr/updata -Dcommimt=yes -jar post.jar > demo-doc*.xml. > How to do in Linux? >

Re: make search "hotels in auckland" match "auckland" in index

2011-10-05 Thread James Lin
wow awesome hahaha thanks! On Oct 6, 2011 8:36 AM, "Gora Mohanty" wrote: > On Thu, Oct 6, 2011 at 12:55 AM, James Lin wrote: >> Hi, >> >> I got an area index which only has one area name field, the field type is >> using the "text_en_splitting"

make search "hotels in auckland" match "auckland" in index

2011-10-05 Thread James Lin
Hi, I got an area index which only has one area name field, the field type is using the "text_en_splitting" some sample data will be: "Auckland", "North Shore" etc. If I have a search query "hotels in auckland", the result doesn't match anything. How would I change the index config to make it mat

solr sorting on multiple conditions, please help

2011-04-25 Thread James Lin
Hi Folks, I got a problem on solr sorting as below: sort=query({!v="area_id: 78153"}) desc, score desc What I want to achieve is sort by if there is a match with area_id, then sort by the actual score problem is, area_id is a multiple value, the result I am getting does not sort by the actual s

Re: noobie question: sorting

2011-03-16 Thread James Lin
AWESOME, thanks for your time! Regards James On Wed, Mar 16, 2011 at 6:14 PM, David Smiley (@MITRE.org) < dsmi...@mitre.org> wrote: > Hi. Where did you find such an obtuse example? > > Recently, Solr supports sorting by function query. One such function is > named "query" which takes a query

noobie question: sorting

2011-03-15 Thread James Lin
Hi Guys, came across this sorting query query ({!v="category: 445"}) desc I understand it is sorting on exact match of category = 445, I don't quite understand the syntax, could someone please elaborate a bit for me? So I can reuse this syntax in the future. Regards James