RE: indexing documents (or pieces of a document) by access controls

2007-06-13 Thread Ard Schrijvers
Hello, > When I had those kind of problems (less complex) with lucene, > the only > idea was to filter from the front-end, according to the ACL policy. > Lucene docs and fields weren't protected, but tagged. Searching was > always applied with a field "audience", with hierarchical values like

Re: Update to SolrSharp

2007-06-13 Thread Jeff Rodenburg
Thanks for the heads-up Michael. csproj files have been added to source. -- jeff On 6/13/07, Michael Plax <[EMAIL PROTECTED]> wrote: Hello Jeff, Thank you for posting Solrsharp. I just check it out and it looks like projects (src\SolrSharp.csproj , example\Example.csproj) are missing from VS

Re: DisMax request handler doesn't work with stopwords?

2007-06-13 Thread realw5
I'm having the same issues. We are using Dismax, with a stopword list. Currently we are having customers typing in "model ipod", we added model to the stopwords list and tested with the standard handler..works fine, but not with dismax (MM = 3<-1 5<-2 6<90%). When i comment out MM, it works. Do yo

Re: Update to SolrSharp

2007-06-13 Thread Michael Plax
Hello Jeff, Thank you for posting Solrsharp. I just check it out and it looks like projects (src\SolrSharp.csproj , example\Example.csproj) are missing from VS solution. Thank you, Michael - Original Message - From: "Jeff Rodenburg" <[EMAIL PROTECTED]> To: Sent: Wednesday, June 13,

Update to SolrSharp

2007-06-13 Thread Jeff Rodenburg
Solrsharp has been validated against the Solr 1.2 release. Validation was made using the example application that's available with the Solrsharp code against a default example index with the Solr 1.2 released bits. - The source code for Solrsharp is now accessible via subversion. Many thanks to

Re: "sort" throws exception

2007-06-13 Thread Ryan McKinley
Jack L wrote: Hello Chris, I'm using version 1.1. If I'm only using 1.1 features, should I still try 1.2 for other improvements such as stability, error handling, etc.? If you can upgrade, it is highly recommended. There are lots of little annoying fixes included in 1.2 -- in addition to l

Re: problem with schema.xml

2007-06-13 Thread jtraylor+solr
The java process is terminating to the point of not being visible in the process list. As with my other experiences when shutting down java processes it takes approximiately 5 seconds to completely go away. At least to the point of nothing listening on the port I am aware that refreshes of the solr

Re[2]: "sort" throws exception

2007-06-13 Thread Jack L
Hello Chris, I'm using version 1.1. If I'm only using 1.1 features, should I still try 1.2 for other improvements such as stability, error handling, etc.? -- Best regards, Jack Wednesday, June 13, 2007, 12:23:35 PM, you wrote: > : However, the moment I add sort, I get an exception (listed at

Re: Delete entire index

2007-06-13 Thread Yonik Seeley
On 6/13/07, Ryan McKinley <[EMAIL PROTECTED]> wrote: >> : >> : Actually, it's not quite equivalent if there was a schema change. >> : There are some "sticky" field properties that are per-segment global. >> : For example, if you added omitNorms="true" to a field, then did >> >> Hmmm... I thought

Re: Delete entire index

2007-06-13 Thread Ryan McKinley
: : Actually, it's not quite equivalent if there was a schema change. : There are some "sticky" field properties that are per-segment global. : For example, if you added omitNorms="true" to a field, then did Hmmm... I thought the optimize would take care of that? Oh yes, sorry, I was thinking a

Re: indexing documents (or pieces of a document) by access controls

2007-06-13 Thread Frédéric Glorieux
Hello, > With all do respect, I really think the problem is largely underestimated here, and is far more complex then these suggestions...unless we are talking about 100.000 documents, couple of users, and updating ones a day. If you want millions of documents, facetted authorized navigatio

Re: Delete entire index

2007-06-13 Thread Yonik Seeley
On 6/13/07, Chris Hostetter <[EMAIL PROTECTED]> wrote: : > correct ... deleting *:* followed by doing an should be : > functionally equivilent to stoping the servlet container, removing the : > directory and starting the sorl container ... but it won't be quite as : > efficient. : : Actually, it

Re: Delete entire index

2007-06-13 Thread Yonik Seeley
On 6/13/07, Chris Hostetter <[EMAIL PROTECTED]> wrote: : I could be wrong, but I think you can send a "delete by query" syntax: : *:* correct ... deleting *:* followed by doing an should be functionally equivilent to stoping the servlet container, removing the directory and starting the sorl c

Re: Delete entire index

2007-06-13 Thread Chris Hostetter
: > correct ... deleting *:* followed by doing an should be : > functionally equivilent to stoping the servlet container, removing the : > directory and starting the sorl container ... but it won't be quite as : > efficient. : : Actually, it's not quite equivalent if there was a schema change. : T

Re: "sort" throws exception

2007-06-13 Thread Chris Hostetter
: However, the moment I add sort, I get an exception (listed at the : bottom of this email.) Then I tried with "sort=score" and the : exception still happens. I'm sure it's due to my ignorance because : sort must be a well tested parameter. I wonder what I'm doing wrong? : java.lang.ArrayIndexOut

Re: Delete entire index

2007-06-13 Thread Chris Hostetter
: I could be wrong, but I think you can send a "delete by query" syntax: : *:* correct ... deleting *:* followed by doing an should be functionally equivilent to stoping the servlet container, removing the directory and starting the sorl container ... but it won't be quite as efficient. if some

Re: "sort" throws exception

2007-06-13 Thread Yonik Seeley
Try sort=score desc Looks like we need some better error checking and more friendly error messages. -Yonik On 6/13/07, Jack L <[EMAIL PROTECTED]> wrote: I'm using DisMaxRequestHandler and my queries seem to work fine. I intended to add an option to sort on a "date" type field. However, the mom

"sort" throws exception

2007-06-13 Thread Jack L
I'm using DisMaxRequestHandler and my queries seem to work fine. I intended to add an option to sort on a "date" type field. However, the moment I add sort, I get an exception (listed at the bottom of this email.) Then I tried with "sort=score" and the exception still happens. I'm sure it's due to

Re: Delete entire index

2007-06-13 Thread Yonik Seeley
I agree... and the fix really belongs at the Lucene level: https://issues.apache.org/jira/browse/LUCENE-932 -Yonik On 6/13/07, Matt Mitchell <[EMAIL PROTECTED]> wrote: Hi, Is there a way to have Solr completely remove the current index? ? We're still in development and so our schema is waveri

Re: Delete entire index

2007-06-13 Thread Thiago Jackiw
Matt, I could be wrong, but I think you can send a "delete by query" syntax: *:* -- Thiago Jackiw acts_as_solr => http://acts-as-solr.railsfreaks.com On 6/13/07, Matt Mitchell <[EMAIL PROTECTED]> wrote: Hi, Is there a way to have Solr completely remove the current index? ? We're still in de

Delete entire index

2007-06-13 Thread Matt Mitchell
Hi, Is there a way to have Solr completely remove the current index? ? We're still in development and so our schema is wavering. Anytime we make a change and want to re-index we first have to: stop tomcat (or the solr webapp) manually remove the data/index restart tomcat (or the solr weba

Re: Unfriendly Weblogic

2007-06-13 Thread Chris Hostetter
: hmmm... the INFO log suggests it has found my solr.solr.home argument ok. it's more a question of wether or not there were any errors when trying to load any classes needed to parse your configs (either because they are staticly refered to, or because they are loaded by reflection based on your

Re: Unfriendly Weblogic

2007-06-13 Thread Shaun . Perkinson
hmmm... the INFO log suggests it has found my solr.solr.home argument ok. I don't know how readable the whole stack is but I've included it below. Have I missed a step in the setup? The only steps to deploy Solr I've taken are: 1) Add "-Dsolr.solr.home=D:/apache-solr-1.2.0/example/solr" as a JV

Re: Compass vs Solr

2007-06-13 Thread Ryan McKinley
compass is nice: you install it and it just works. I was totally impressed. Can anyone suggest which one would perform/scale well Compass or Solr? It depends on what your app looks like. If you need to update the index from multiple computers at the same time (load balancing) - solr is t

Re: problems getting data into solr index

2007-06-13 Thread Brian Whitman
On Jun 13, 2007, at 11:37 AM, vanderkerkoff wrote: Hello everyone I'm running solr1.1 and Jetty, I'm having problems looping through a mysql database with python and putting the data into the solr index. Here's the error UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in posit

Re: problems getting data into solr index

2007-06-13 Thread Chris Hostetter
: I'm running solr1.2 and Jetty, I'm having problems looping through a mysql : database with python and putting the data into the solr index. : : Here's the error : : UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 369: : ordinal not in range(128) I may be missing something h

Re: Unfriendly Weblogic

2007-06-13 Thread Chris Hostetter
: at weblogic.servlet.internal.FilterManager.loadFilter( : FilterManager.java:88) : Truncated. see log file for complete stacktrace : > did you check the log file to see the complete stack trace and if there were any other interesting log messages from Solr? The SolrDispatchFilter

Re: problems getting data into solr index

2007-06-13 Thread Ryan McKinley
> > UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position > 369: ordinal not in range(128) > What character is at position 369? make sure it is valid unicode... Is there a simple way to tell solr to accept UTF8 characters? Solr can accept UTF8 characters... check the utf8

Re: problems getting data into solr index

2007-06-13 Thread Yonik Seeley
On 6/13/07, vanderkerkoff <[EMAIL PROTECTED]> wrote: I'm running solr1.2 and Jetty, I'm having problems looping through a mysql database with python and putting the data into the solr index. Here's the error UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 369: ordinal not i

Re: Compass vs Solr

2007-06-13 Thread Otis Gospodnetic
If your question is about scaling only, I'd put my money on Solr when compared to Compass+Lucene if you are looking at the OO(T?)B offering. Check the Solr Wiki for Master/Slave information. If you go with Compass+Lucene, you'll need to do implement something like that yourself. Otis -- Lucen

problems getting data into solr index

2007-06-13 Thread vanderkerkoff
Hello everyone I'm running solr1.2 and Jetty, I'm having problems looping through a mysql database with python and putting the data into the solr index. Here's the error UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 369: ordinal not in range(128) I think that means that

Re: Unfriendly Weblogic

2007-06-13 Thread Daniel Alheiros
Sorry, probably it's not the case then... On 13/6/07 16:07, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > sorry - I'm using weblogic 9.2 > > > > > > > > > > > Daniel Alheiros <[EMAIL PROTECTED]> > 13/06/2007 16:05 > Please respond to solr-user > > To: > cc: >

Re: Unfriendly Weblogic

2007-06-13 Thread Shaun . Perkinson
sorry - I'm using weblogic 9.2 Daniel Alheiros <[EMAIL PROTECTED]> 13/06/2007 16:05 Please respond to solr-user To: cc: Subject:Re: Unfriendly Weblogic Which version of Weblogic are you trying? Some old versions have a wrong javax.servlet.Filter

Re: Unfriendly Weblogic

2007-06-13 Thread Daniel Alheiros
Which version of Weblogic are you trying? Some old versions have a wrong javax.servlet.Filter interface definition... Regards, Daniel On 13/6/07 15:59, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Hi guys, > > I've tried deploying Solr on Weblogic and am gettting the following error > in m

Unfriendly Weblogic

2007-06-13 Thread Shaun . Perkinson
Hi guys, I've tried deploying Solr on Weblogic and am gettting the following error in my console trace: 13-Jun-2007 15:37:35 org.apache.solr.core.Config getInstanceDir INFO: using system property solr.home: D:/apache-solr-1.2.0/example/solr/ 13-Jun-2007 15:37:35 org.apache.solr.core.Config setIn

Re: Can we change structure of "add" command?

2007-06-13 Thread Erik Hatcher
Vika - no, Solr's add-document XML syntax is not flexible in the way you've described. Solr fronts a Lucene index. A Lucene index is made up of Documents which have Fields. Fields are a flat structure, not hierarchical. The trick to leveraging Solr and Lucene successfully is in the map

Re: Multi-language indexing and searching

2007-06-13 Thread Daniel Alheiros
Hi Hoss One bad thing in having fields specific for your language (in my point of view) is that you will have to re-index your content when you add a new language (some will need to start with one language and in future will have others added). But OK, let's say the indexing is done. So using dyn

Can we change structure of "add" command?

2007-06-13 Thread Vikas
Hi Friends, I am new to Solr technology. I want to do searching for xml documents. In source distribution examples of solr, we have same structure of XML documents i.e. ... Can we change this structure of posting xml document? i.e Can we do it like -->

RE: indexing documents (or pieces of a document) by access controls

2007-06-13 Thread Ard Schrijvers
Hello, > Hi > > And about the fields, if they are/aren't going to be present on the > responses based on the user group, you can do it in many > different ways > (using XML transformation to remove the undesirable fields, > implementing > your own RequestHandler able to process your group > in

RE: indexing documents (or pieces of a document) by access controls

2007-06-13 Thread Ard Schrijvers
Hello, > Given the requirement to break down a document into separately > controlled pieces, I'd create a servlet that "fronts" the Solr > servlet and handles this conversion. I could think of ways to do it > using Solr, but they feel like unnatural acts. > > As a general comment on ACLs, one