Re: Can solr return documents which don't match a query?

2009-09-07 Thread Chantal Ackermann
Or add a new tag: the "NO TAG" at index time and search for that. (If you have the possibility to reindex at least that one, first, time.) Would clear things up for developers/admins looking at the stuff in some months... Chantal Yonik Seeley schrieb: "return all documents which either match

Re: capturing field length into a stored document field

2009-09-07 Thread mike.schultz
Here's a hybrid solution. Add a filter to the field in question that counts all the tokens and at the end outputs a token of the form __numtokens.__. This eliminates the need to retokenize the field again. Also, bucket the numbers, either by some factor of ten, or base 2, so that there aren't

Re: Can solr return documents which don't match a query?

2009-09-07 Thread Yonik Seeley
> "return all documents which either match query1 or don't match query 2" query1 (*:* -query2) -Yonik http://www.lucidimagination.com

Can solr return documents which don't match a query?

2009-09-07 Thread Stephen Weiss
Hi everyone, I have what's probably a loaded question about how Solr parses queries. Basically, the client wants to restructure the way they handle permissions. Instead of assigning specific permissions ids (as we've done up until this point), they want to structure permissions by adding

abortOnConfigurationError=false not taking the effect in solr 1.3

2009-09-07 Thread djain101
Hi, We have set false in solrconfig.xml for all the cores but still whenever any configuration error occurs search does not work in any of the cores. Is there any other configuration we have to set so as to not affect search in the cores which are configured correctly? For one of the core, we go

Re: Netbeans and Solr : Whac-A-Mole

2009-09-07 Thread Mark Miller
Mark Miller wrote: > Setting Solr up to easily run tests through the IDE should be about as > simple with any IDE of your choosing. > > I do it with eclipse. It takes a couple basic steps: > > 1. Add the correct libraries to your classpath - all the jars in lib and > example/lib (for jetty jars). >

Re: Netbeans and Solr : Whac-A-Mole

2009-09-07 Thread Mark Miller
Setting Solr up to easily run tests through the IDE should be about as simple with any IDE of your choosing. I do it with eclipse. It takes a couple basic steps: 1. Add the correct libraries to your classpath - all the jars in lib and example/lib (for jetty jars). 2. Add the build/solr build/sol

Re: Netbeans and Solr : Whac-A-Mole

2009-09-07 Thread Lukáš Vlček
Shalin, do you think you can share more details about your IDEA setup for Solr testing? I am still having some issues with some tests (not all tests can find solr configuration files). Best regards, Lukas On Mon, Sep 7, 2009 at 2:35 PM, Shalin Shekhar Mangar < shalinman...@gmail.com> wrote: > O

Re: Netbeans and Solr : Whac-A-Mole

2009-09-07 Thread Noble Paul നോബിള്‍ नोब्ळ्
It is possible to use XPathRecordReader directly with a couple of lines of code as demonstrated in the JUnit testcases. just add the stax jars in the classpath On Mon, Sep 7, 2009 at 5:58 PM, Fergus McMenemie wrote: >>This testcase is quite independent of anything in Solr. It is a >>standalone uti

Re: Faceting optimization

2009-09-07 Thread Grant Ingersoll
If you add &debugQuery=true to your query, it should give you a breakdown of time spent in the various components. Also, are you doing any warming? You might also look at the new faceting method in Solr 1.4. On Sep 7, 2009, at 6:37 AM, Sébastien Lamy wrote: Hi I'm currently trying to op

Re: Netbeans and Solr : Whac-A-Mole

2009-09-07 Thread Fergus McMenemie
>On Mon, Sep 7, 2009 at 5:58 PM, Fergus McMenemie wrote: > >> >This testcase is quite independent of anything in Solr. It is a >> >standalone utility and the only dependency is stax. >> >discalimer (I run these testcases from Intellij and command line) >> >BTW are you using XpathRecordReader outsi

Re: Netbeans and Solr : Whac-A-Mole

2009-09-07 Thread Shalin Shekhar Mangar
On Mon, Sep 7, 2009 at 5:58 PM, Fergus McMenemie wrote: > >This testcase is quite independent of anything in Solr. It is a > >standalone utility and the only dependency is stax. > >discalimer (I run these testcases from Intellij and command line) > >BTW are you using XpathRecordReader outside of

Re: Netbeans and Solr : Whac-A-Mole

2009-09-07 Thread Fergus McMenemie
>This testcase is quite independent of anything in Solr. It is a >standalone utility and the only dependency is stax. >discalimer (I run these testcases from Intellij and command line) >BTW are you using XpathRecordReader outside of DIH? Nobel, Is there a better way to test and play with XPathRec

Re: Netbeans and Solr : Whac-A-Mole

2009-09-07 Thread rajan chandi
We use command-line for most stuff except editing/debugging! 2009/9/7 Noble Paul നോബിള്‍ नोब्ळ् > This testcase is quite independent of anything in Solr. It is a > standalone utility and the only dependency is stax. > discalimer (I run these testcases from Intellij and command line) > BTW are yo

Re: Netbeans and Solr : Whac-A-Mole

2009-09-07 Thread Noble Paul നോബിള്‍ नोब्ळ्
This testcase is quite independent of anything in Solr. It is a standalone utility and the only dependency is stax. discalimer (I run these testcases from Intellij and command line) BTW are you using XpathRecordReader outside of DIH? On Mon, Sep 7, 2009 at 3:26 PM, Fergus McMenemie wrote: > Hello

Re: Exact Word Search

2009-09-07 Thread bhaskar chandrasekar
  Hi Shalin,   My search is based on the following fields in schema.xml           Let me know if you need anything else? Regards Bhaskar --- On Fri, 9/4/09, Shalin Shekhar Mangar wrote: From: Shalin Shekhar Mangar Subject: Re: Exact Word Search To: solr-user@lucene.apache.org Date: Friday, S

Faceting optimization

2009-09-07 Thread Sébastien Lamy
Hi I'm currently trying to optimize the response time of my solr server. I found one aberration and hope you may be able to help me solve it: If, considering the whole document index, there is a lot of possible values for a field, asking for facet on that field dramatically increase response ti

Re: Netbeans and Solr : Whac-A-Mole

2009-09-07 Thread Fergus McMenemie
>We've set-up NetBeans with Solr but we are using command-line for most of >the stuff except for editing the code. > >Does your code build from NetBeans? If not what errors do you see? The code builds and runs from net beans because the underlying build.xml file is being used. But when you want to

Re: Netbeans and Solr : Whac-A-Mole

2009-09-07 Thread rajan chandi
We've set-up NetBeans with Solr but we are using command-line for most of the stuff except for editing the code. Does your code build from NetBeans? If not what errors do you see? Regards Rajan On Mon, Sep 7, 2009 at 3:26 PM, Fergus McMenemie wrote: > Hello all, > > I would appreciate help fro

Netbeans and Solr : Whac-A-Mole

2009-09-07 Thread Fergus McMenemie
Hello all, I would appreciate help from somebody who has set up Solr within netbeans, I am wanting to do more work with DIH and particularly its XpathEntityProcessor stuff. I wish to preform the following from within the IDE ant -Dtestcase=TestXPathRecordReader.java test I have spent a few ho

Re: Field Collapsing (was Re: Schema for group/child entity setup)

2009-09-07 Thread Uri Boness
Great. Nice site and very similar to my requirements. thanks. So, right now, you get all field values by default? Right now, no field values are returned for the collapsed documents. The patch which will be committed soon will add this functionality. R. Tan wrote: Great. Nice site and very