Re: Updating the index with a csv file

2008-09-28 Thread Koji Sekiguchi
> curl 'http://localhost:8983/solr/update/csv?commit=true' --data-binary @books.csv -H 'Content-type:text/plain; charset=utf-8' > > ...perhaps there is some eccentricity about windows curl? I tried this on cygwin and books.csv could be uploaded without problems. Koji

Re: DataImportHandler: way to merge multiple db-rows to 1 doc using transformer?

2008-09-28 Thread Noble Paul നോബിള്‍ नोब्ळ्
What is the basis on which you merge rows ? Then I may be able to suggest an easy way of doing that On Sun, Sep 28, 2008 at 3:17 AM, Britske <[EMAIL PROTECTED]> wrote: > > Looking at the wiki, code of DataImportHandler and it looks impressive. > There's talk about ways to use Transformers to be a

Merging Highlight and result section

2008-09-28 Thread Vaijanath N. Rao
Hi Solr-Users, Is there any way of merging Result section with the snippet generated using the highlight option. So what I am essentially asking is the following. If I query Solr with highlight set to true it returns me back an result + highlight section. In the following manner, It will re

using DataImportHandler instead of POST?

2008-09-28 Thread Geoffrey Young
hi all :) I'm sorry I need to ask this, but after reading and re-reading the wiki I don't see a clear path... I have a well-formed xml file, suitable for POSTting to solr. that works just fine. it's very large, though, and using curl in production is so very lame. is there a very simple config

Re: Is it possible to specify a pattern of Ranking while querying the indexes?

2008-09-28 Thread tushar kapoor
What I need is a specific sorting order in which the documents are retrieved. The only way I know that this is possible is using something like this - widescreen AND HDTV^2; popular desc, score desc; as given on http://wiki.apache.org/solr/SolrRelevancyCookbook?highlight=%28ranking%29 http://wi

Re: using DataImportHandler instead of POST?

2008-09-28 Thread Noble Paul നോബിള്‍ नोब्ळ्
yep. DIH can slurp an xml file . http://wiki.apache.org/solr/DataImportHandler#head-13ffe3a5e6ac22f08e063ad3315f5e7dda279bd4 use a FileDataSource instead of HttpDataSource if your xml is in the the solr add xml format use the attribute useSolrAddSchema="true" If your xml is really huge use strea

Re: using DataImportHandler instead of POST?

2008-09-28 Thread Chris Hostetter
: I have a well-formed xml file, suitable for POSTting to solr. that : works just fine. it's very large, though, and using curl in production : is so very lame. is there a very simple config that will let solr just : slurp up the file via the DataImportHandler? solr already has You don't even

Re: Is it possible to specify a pattern of Ranking while querying the indexes?

2008-09-28 Thread Shalin Shekhar Mangar
Well that is not very well defined. I suppose if you can mathematically defined an ordering, you can implement it by writing some plugin code. On Mon, Sep 29, 2008 at 9:57 AM, tushar kapoor < [EMAIL PROTECTED]> wrote: > > What I need is a specific sorting order in which the documents are > retrie

Re: Dismax , "query phrases"

2008-09-28 Thread Norberto Meijome
On Fri, 26 Sep 2008 10:42:42 -0700 (PDT) Chris Hostetter <[EMAIL PROTECTED]> wrote: > : : class="solr.KeywordTokenizerFactory" />

Re: Is it possible to specify a pattern of Ranking while querying the indexes?

2008-09-28 Thread tushar kapoor
In case I dont want to write a plugin code for that, what is the option that I am left with ? As I see it, one of the solution is to add a new a ranking field and query on the basis of ascending/descending values of the ranking filed. To change the sort order change the value of the ranking field