Solr Autosuggest help

2011-02-26 Thread rahul
Hi, I am using Solr (1.4.1) AutoSuggest feature using termsComponent. Currently, if I type 'goo' means, Solr suggest words like 'google'. But I would like to receive suggestions like 'google, google alerts, ..' . ie, suggestions with single and multiple terms. Not sure, whether I need to use

Re: How to handle special character in filter query

2011-02-26 Thread Savvas-Andreas Moysidis
Hello, Regarding HTTP specific characters(like spaces and ) , you'll need to URL-encode those if you are firing queries directly to Solr but you don't need to do so if you are using a Solr client such as SolrJ. Regards, - Savvas On 26 February 2011 03:11, cyang2010 ysxsu...@hotmail.com wrote:

Text field not defined in Solr Schema?

2011-02-26 Thread McGibbney, Lewis John
Hello list, I have recently been working on some JS (ajax solr) and when using Firebug I am alerted to an error within the JS file as below. It immediately breaks on line 12 stating that 'doc.text' is undefined! Here is the code snippet. 10 AjaxSolr.theme.prototype.snippet = function (doc) {

Re: Make syntax highlighter caseinsensitive

2011-02-26 Thread Tarjei Huse
On 02/25/2011 03:02 PM, Koji Sekiguchi wrote: (11/02/25 18:30), Tarjei Huse wrote: Hi, On 02/25/2011 02:06 AM, Koji Sekiguchi wrote: (11/02/24 20:18), Tarjei Huse wrote: Hi, I got an index where I have two fields, body and caseInsensitiveBody. Body is indexed and stored while

Studying all files of Solr SRC

2011-02-26 Thread Anurag
Is there any place where a detailed tutorial about all the Java files of Apache Solr(under Src folder) is available.? I want to study them as my purpose is to either write codes for my implementation or modify the existing files to fulfill my purpose. Actually i want to add Advance Search in my

Re: Studying all files of Solr SRC

2011-02-26 Thread Markus Jelsma
DismaxQParser's mm parameter might help you out: http://wiki.apache.org/solr/DisMaxQParserPlugin#mm_.28Minimum_.27Should.27_Match.29 Is there any place where a detailed tutorial about all the Java files of Apache Solr(under Src folder) is available.? I want to study them as my purpose is to

Re: Text field not defined in Solr Schema?

2011-02-26 Thread Markus Jelsma
Yes, you need to add the field text of type Text or use content instead of text. Hello list, I have recently been working on some JS (ajax solr) and when using Firebug I am alerted to an error within the JS file as below. It immediately breaks on line 12 stating that 'doc.text' is

Re: Make syntax highlighter caseinsensitive

2011-02-26 Thread Koji Sekiguchi
That is why I'm storing the non lowercased version of the field - with that I do not loose information. You do not loose information when you store lowercased version of the field. Koji -- http://www.rondhuit.com/en/

loading XML docbook files into solr

2011-02-26 Thread Derek Werthmuller
I've been working on this for a while an seem to hit a wall. The error messages aren't complete enought to give guidance why importing a sample docbook document into solr is not working. I'm using the curl tool to post the xml file and receive a non error message but the document count doesn't

RE: Text field not defined in Solr Schema?

2011-02-26 Thread McGibbney, Lewis John
Thank you Markus, I am wondering if anyone can comment on the latter question I posted regarding supporting TextField or StrField with compression options. I understand the methodology behind configuring compressThreshold to the field type definition (1st part of my schema) and adding

Re: loading XML docbook files into solr

2011-02-26 Thread Gora Mohanty
On Sat, Feb 26, 2011 at 9:10 PM, Derek Werthmuller dwert...@ctg.albany.edu wrote: I've been working on this for a while an seem to hit a wall.  The error messages aren't complete enought to give guidance why importing a sample docbook document into solr is not working. I'm using the curl tool

Re: loading XML docbook files into solr

2011-02-26 Thread Sujit Pal
Hi Derek, The XML files you post to Solr needs to be in the correct Solr specific XML format. One way to preserve the original structure would be to flatten the document into field names indicating the position of the text, for example: book_titleabbrev: Advancing Return on Investment Analysis

Re: How to handle special character in filter query

2011-02-26 Thread Rosa (Anuncios)
Try this: fq={!field f=category}insert value, URL encoded of course, here or double quote. Regards Le 26/02/2011 04:11, cyang2010 a écrit : How to handle special character when constructing filter query? for example, i want to do something like: http://.fq=genre:ACTION; ADVENTURE

Blacklist keyword list on dataimporter

2011-02-26 Thread Rosa (Anuncios)
Hi, Is there a way to drop document when indexing based of a blacklist keyword list? Something like the stopwords.txt... But in this case when one keyword is detected in a specific field at indexing, the whole doc would be skipped. Regards

Re: Solr Autosuggest help

2011-02-26 Thread Ahmet Arslan
I am using Solr  (1.4.1) AutoSuggest feature using termsComponent. Currently, if I type 'goo' means, Solr suggest words like 'google'. But I would like to receive suggestions like 'google, google alerts, ..' . ie, suggestions with single and multiple terms. Not sure, whether I need

RE: loading XML docbook files into solr

2011-02-26 Thread Derek Werthmuller
Thank you this clearifies a lot. -Original Message- From: Gora Mohanty [mailto:g...@mimirtech.com] Sent: Saturday, February 26, 2011 11:49 AM To: solr-user@lucene.apache.org Subject: Re: loading XML docbook files into solr On Sat, Feb 26, 2011 at 9:10 PM, Derek Werthmuller

Re: query results filter

2011-02-26 Thread Babak Farhang
Just stumbled on field collapsing ( http://wiki.apache.org/solr/FieldCollapsing ), which is apparently slated for inclusion in the next release. Looks like I should be able to achieve my unique field requirement w/ group.limit=1group.main=true in the query string. With regard to the known