Getting only fields that match

2009-01-11 Thread Norbert Hartl
Hi, I'm new to solr. I toyed around a little with solr while searching for a search server with lucene. I saw a lot of things that can be done with solr but I missed one feature that I need. I like the search result to include only the fields that matched the search. Is this possible? I only

Re: Getting only fields that match

2009-01-11 Thread Shalin Shekhar Mangar
On Sun, Jan 11, 2009 at 4:02 PM, Norbert Hartl norb...@hartl.name wrote: I like the search result to include only the fields that matched the search. Is this possible? I only saw the field spec where you can have a certain set of fields or all. Are you looking for highlighting (snippets)?

Re: solr admin page throwing errors

2009-01-11 Thread Grant Ingersoll
Haven't seen this before, was there anything in the log further up? I don't even see Solr anywhere in the stack trace here. On Jan 9, 2009, at 11:11 AM, Yerraguntla wrote: Hi, I am using solr admin page with index.jsp from %-- $Id: index.jsp 686780 2008-08-18 15:08:28Z yonik $ --% I

Re: solr admin page throwing errors

2009-01-11 Thread Yerraguntla
I think its more of admin.jsp code, which id throwing errors. I can succefully use admin/luke and solr/select?q= without any problem. Grant Ingersoll-6 wrote: Haven't seen this before, was there anything in the log further up? I don't even see Solr anywhere in the stack trace here.

Re: solr admin page throwing errors

2009-01-11 Thread Christopher Liebman
I've seen thatverror when tmpwatch is run from cron and removed some of the compiled jsp data files. This was using the included tomcat. -- Chris (via mobile device) On Jan 11, 2009, at 4:40, Yerraguntla raveend...@yahoo.com wrote: I think its more of admin.jsp code, which id throwing

RE: Query regarding Spelling Suggestions

2009-01-11 Thread Deshpande, Mukta
I am using the example schema that comes with the Solr installation downloaded from http://www.mirrorgeek.com/apache.org/lucene/solr/. I have added the word field with textSpell fieldtype in the schema.xml file, as specified in the below mail. My spelling index exist under SOLR HOME/data/ If I

Re: Query regarding Spelling Suggestions

2009-01-11 Thread Grant Ingersoll
Can you send the full log? On Jan 11, 2009, at 1:51 PM, Deshpande, Mukta wrote: I am using the example schema that comes with the Solr installation downloaded from http://www.mirrorgeek.com/apache.org/lucene/solr/. I have added the word field with textSpell fieldtype in the schema.xml

Re: Getting only fields that match

2009-01-11 Thread Norbert Hartl
Hi, On Sun, 2009-01-11 at 17:07 +0530, Shalin Shekhar Mangar wrote: On Sun, Jan 11, 2009 at 4:02 PM, Norbert Hartl norb...@hartl.name wrote: I like the search result to include only the fields that matched the search. Is this possible? I only saw the field spec where you can have a

storing complex types in a multiValued field

2009-01-11 Thread Ian Holsman
hi. I don't think this is a FAQ, but it's been bugging me for a while. I want to store key/value pairs in a single field. for example field name=tags type=keyval indexed=true stored=true multiValued=true / where keyval would be a ID# and the value. I'm guessing it is as simple as creating

Database permissions integration and Sub documents

2009-01-11 Thread Mike Shredder
Hi , I'm new to Solr .. I've been able to get Solr up running. But got some quick questions. 1) How do I filter results based on permissions from an external database system ? -- Should I implement a queryfilter which will look up permissions in the DB for permissions on each doc

Re: storing complex types in a multiValued field

2009-01-11 Thread Shalin Shekhar Mangar
I guess most people store it as a simple string key(separator)value. Is there something special that you want to do with the values that you need a custom field implementation? On Mon, Jan 12, 2009 at 5:36 AM, Ian Holsman li...@holsman.net wrote: hi. I don't think this is a FAQ, but it's been

Re: storing complex types in a multiValued field

2009-01-11 Thread Ian Holsman
Shalin Shekhar Mangar wrote: I guess most people store it as a simple string key(separator)value. Is there something special that you want to do with the values that you need a custom field implementation? no..not really.. I guess I could achieve it via payloads as well.. the whole thing

RE: Query regarding Spelling Suggestions

2009-01-11 Thread Deshpande, Mukta
Hi, Could you please send me the needful entries in log4j.properties to enable logging, explicitly for SpellCheckComponent. My current log4j.properties looks like: log4j.rootLogger=INFO,console log4j.appender.console=org.apache.log4j.ConsoleAppender log4j.appender.console.target=System.err

solr-duplicate post management

2009-01-11 Thread S.Selvam Siva
Hi, I have 6 fields in my solr-schema. 1)id(unique key) 2)urlid 3)url and so on to 6) We have been posting 3 to 4 lakh .xml files per day which includes 50% duplicate posts. what i need is ,to log the existing urlid and new urlid(of course both will not be same) ,when a .xml file