RE: Getting SolrSharp to work, Part 2

2008-01-25 Thread Peter Thygesen
This patch covers the issues I wrote about in my previous mails How to get SolrSharp to work and How to get SolrSharp to work, part 2 By the way should I post on this thread, or on CodePlex. When the topic is SolrSharp? I don't mind adding a few more comments to the discussion I already started

Re: Restricted views of an index

2008-01-25 Thread Ken Krugler
Is there any interest/activity for SOLR to provide a restricted view of an index, making only certain fields available/public, depending on the identity of the requesting client? Certain information in our index is confidential and should only be accessible to certain individuals/groups,

Re: spellcheckhandler

2008-01-25 Thread Chris Hostetter
: : I did try with the latest nightly build and followed the steps outlined in : http://wiki.apache.org/solr/SpellCheckerRequestHandler : with regards to creating new catchall field 'spell' of type 'spell' and : copied my text fields to 'spell' at index time. : Still q=grapics returns 'graphics'

Re: spellcheckhandler

2008-01-25 Thread anuvenk
Thanks. But i'm looking at this http://.../spellchecker?indent=ononlyMorePopular=trueaccuracy=.6suggestionCount=20q=facial+salophosphoprotein on http://lucene.apache.org/solr/api/org/apache/solr/handler/SpellCheckerRequestHandler.html It seems to return results (well in the example) with and

Re: Log4j cookbook for request logging

2008-01-25 Thread Chris Hostetter
: Is it possible to log incoming requests? I'd love to have the incoming IP : and request string. : : What is the exact set of class names for this? Solr tries to remain as agnostic as possible about this sort of thing ... by which i mean log configuration in general, but also things like

Re: solr synonyms behaviour

2008-01-25 Thread Chris Hostetter
: so when i do a debug this is the parsedquery_tostring i see: : (((text:divorc^0.8 | name:divorc^2.0)~0.01 (text:mediat^0.8 | : name:mediat^2.0)~0.01)~2) (text:(divorc altern) (disput mediat) : resolut~5^0.8 | name:(divorc altern) (disput mediat) resolut~5^2.0)~0.01 FYI: it's very hard to make

Re: Is it possible to have append kind update operation?

2008-01-25 Thread Chris Hostetter
: Hi, is it possible to have append like updates, where if two records of there is an open Jira issue to deal with the notion of updating docs in place, but i think the people who were working on it the most have put it somewhat on hold to focus more on the MultiCore and distributed search

Re: Getting SolrSharp to work, Part 2

2008-01-25 Thread Chris Hostetter
: Great, thanks Peter. And yes, I think it would be good to concentrate the : conversation over on codeplex. I know the Solr team has no problem with : solrsharp conversations here on the solr mailing list, but the conversation : is highly focused on the server. Putting the solrsharp

JSON tokenizer? tagging ideas

2008-01-25 Thread Ryan McKinley
I've been struggling with how to get various bits of structured data into solr documents. In various projects I have tried various ideas, but none feel great. Take a simple example where I want a document field to be the list of linked data with name, ID, and path. I have tried things like:

Log4j cookbook for request logging

2008-01-25 Thread Lance Norskog
Is it possible to log incoming requests? I'd love to have the incoming IP and request string. What is the exact set of class names for this? Thanks, Lance Norskog

Re: Is it possible to add synonyms run time?

2008-01-25 Thread Ravish Bhagdev
Yes, I'm fairly new as well. So do you mean adding words to the query effectively doing an or between synonymous terms? That sounds simple way of doing it, if this works, what makes indexing with synonyms useful? Ravish On Jan 25, 2008 2:42 PM, Jon Lehto [EMAIL PROTECTED] wrote: Hi Ravish,

Re: Is it possible to add synonyms run time?

2008-01-25 Thread Jon Lehto
Hi Ravish, You may want to think about the synonym dictionary as being a tool on the side, rather than each indexed document having a copy of the synonyms. At indexing time, one might normalize synonyms to a single value, and at query time do the same to get the match. Alternately, use the

Restricted views of an index

2008-01-25 Thread Karen Loughran
Hi all, Is there any interest/activity for SOLR to provide a restricted view of an index, making only certain fields available/public, depending on the identity of the requesting client ? Certain information in our index is confidential and should only be accessible to certain

RE: Getting SolrSharp to work, Part 2

2008-01-25 Thread Peter Thygesen
Ups. Forgot to tell that the patch was uploaded on CodePlex http://www.codeplex.com/solrsharp/SourceControl/PatchList.aspx \peter -Original Message- From: Peter Thygesen Sent: 25. januar 2008 13:17 To: solr-user@lucene.apache.org Subject: RE: Getting SolrSharp to work, Part 2 This

Re: SnowballPorterFilterFactory and protected words

2008-01-25 Thread Chris Hostetter
: i'm using Solr in a e-commerce site, and i wanted to use protected words : also to reduce recall for certain queries. I'm not sure i understand what you mwan. Why would protected words (in regards to the stemmer) reduce recall ? ... i guess it depends on the words you are protecting right

Re: Help - corrupted field in index

2008-01-25 Thread Chris Hostetter
: I have an 'integer' static field in my schema. Some the index for this field : is corrupted. When I search on this field it works. When I use this field to : sort against, I get this exception. Does this mean that there is a string in : one of my entries? It is possible the field was not

Re: SolrPhpClient with example jetty

2008-01-25 Thread Daniel Andersson
I'm trying to add documents using the SolrPhpClient (if there's a specific mailinglist for it, please let me know and I'll ask there instead). I've searched the net for missing content stream, but found nothing that makes sense. I have now (finally) found the solution! If I change the

Re: Getting SolrSharp to work, Part 2

2008-01-25 Thread Jeff Rodenburg
Great, thanks Peter. And yes, I think it would be good to concentrate the conversation over on codeplex. I know the Solr team has no problem with solrsharp conversations here on the solr mailing list, but the conversation is highly focused on the server. Putting the solrsharp conversation on

Is it possible to add synonyms run time?

2008-01-25 Thread Ravish Bhagdev
As I understood from available documentation, synonyms need to be defined before starting the indexing process. Is it possible to add synonyms at run time such that all index fields of all documents get updated? Does it work for newly added documents atleast? Also, how to make each user of

Re: Spell Check Handler

2008-01-25 Thread anuvenk
I followed your instructions exactly. But still have trouble with multiword queries for eg: q=grapics returns 'graphics' but q=grapics card returns nothing. I even tried with the latest nightly build but didn't solve the problem. Any solution available. scott.tabar wrote: Matthew, Thanks

Re: Restricted views of an index

2008-01-25 Thread Ryan McKinley
Karen Loughran wrote: Hi all, Is there any interest/activity for SOLR to provide a restricted view of an index, making only certain fields available/public, depending on the identity of the requesting client ? Certain information in our index is confidential and should only be accessible to

Re: Is it possible to add synonyms run time?

2008-01-25 Thread Erick Erickson
To me, it's really a question of where the work should be done given your problem space. Injecting synonyms at index time allows the queries to be simpler/faster. Injecting the synonyms at query time gets complex but is more flexible. As always, it's a time/space tradeoff. If you're willing to

Re: Restricted views of an index

2008-01-25 Thread Walter Underwood
Solr filters already provide a restricted review of results, so the code that calls Solr can choose the appropriate handler for each class of users. Make sure that end users cannot directly access the Solr server, or at least not the search URL (/solr/select). Building authentication and

Re: Restricted views of an index

2008-01-25 Thread Karen Loughran
Thanks for the info Ryan Walter, We're looking into invariants and handler logic as you suggest, Karen On Friday 25 January 2008 15:55:09 Ryan McKinley wrote: Karen Loughran wrote: Hi all, Is there any interest/activity for SOLR to provide a restricted view of an index, making only

Re: Is it possible to add synonyms run time?

2008-01-25 Thread Ravish Bhagdev
I see, thanks a lot for this, makes things clear now. So just to make sure I understand this bit, by injecting synonyms at query time you mean basically adding terms implicitly to keywords behind the scenes before passing it to solr? Or is there are more conventional method or interface that is

Re: Is it possible to add synonyms run time?

2008-01-25 Thread anuvenk
Here is what it means by injecting at query time: This is the text field definition i have in my schema fieldType name=text class=solr.TextField positionIncrementGap=100 analyzer type=index tokenizer class=solr.WhitespaceTokenizerFactory/ filter

Re: matching fields and highlighting

2008-01-25 Thread Chris Hostetter
: For a few reasons (mainly field based security restrictions) I need to know : which fields in my result documents matched the query : e.g. I would like to have something like : doc : arr name=matching fields : strfield1/... there's really nothing like that now ... you can use the