Re: how to scan dynamic field without specifying each field in query

2009-09-04 Thread Aakash Dharmadhikari
what all other searches you would like to perform on these fields? From the proposed function definition I believe that when foo*:3 is to be searched all foo* would be searched and none are to be excluded. Assuming that this is the only search that are to be performed on these fields, we might

Re: how to scan dynamic field without specifying each field in query

2009-09-04 Thread gdeconto
I dont have that answer as I was asking a general question, not one for a specific situation I am encountering). what I am essentially asking for is: is there a short, simple and generic method/technique to deal with large numbers of dynamic fields (rather than having to specify each and every

Re: how to scan dynamic field without specifying each field in query

2009-09-04 Thread Avlesh Singh
I dont have that answer as I was asking a general question, not one for a specific situation I am encountering). I can understand :) what I am essentially asking for is: is there a short, simple and generic method/technique to deal with large numbers of dynamic fields (rather than having to

Re: how to scan dynamic field without specifying each field in query

2009-09-04 Thread gdeconto
Thanks Avlesh. I was only thinking of something 'like' function queries (since they appeared to have similar behavior). Agree that custom QueryParser is looking like my only choice. Now have to figure out how to do that :-) Avlesh Singh wrote: I don't think you need function queries

RE: how to scan dynamic field without specifying each field in query

2009-09-03 Thread Manepalli, Kalyan
You can copy the dynamic fields value into a different field and query on that field. Thanks, Kalyan Manepalli -Original Message- From: gdeconto [mailto:gerald.deco...@topproducer.com] Sent: Thursday, September 03, 2009 12:06 PM To: solr-user@lucene.apache.org Subject: how to scan

Re: how to scan dynamic field without specifying each field in query

2009-09-03 Thread Avlesh Singh
I know I can do this via this: http://localhost:8994/solr/select?q=(Foo1:3OR Foo2:3 OR Foo3:3 OR ... Foo999:3) Careful! You may hit the upper limit for MAX_BOOLEAN_CLAUSES this way. You can copy the dynamic fields value into a different field and query on that field. Good idea! Cheers

RE: how to scan dynamic field without specifying each field in query

2009-09-03 Thread gdeconto
thx for the reply. you mean into a multivalue field? possible, but was wondering if there was something more flexible than that. the ability to use a function (ie myfunction) would open up some possibilities for more complex searching and search syntax. I could write my own query parser with

Re: how to scan dynamic field without specifying each field in query

2009-09-03 Thread Avlesh Singh
A query parser, may be. But that would not help either. End of the day, someone has to create those many boolean queries in your case. Cheers Avlesh On Thu, Sep 3, 2009 at 10:59 PM, gdeconto gerald.deco...@topproducer.comwrote: thx for the reply. you mean into a multivalue field? possible,

Re: how to scan dynamic field without specifying each field in query

2009-09-03 Thread Renaud Delbru
Hi, maybe SIREn [1] can help you for this task. SIREn is a Lucene plugin that allows to index and query tabular data. You can for example create a SIREn field foo, index n values in n cells, and then query a specific cell or a range of cells. Unfortunately, the Solr plugin is not yet

Re: how to scan dynamic field without specifying each field in query

2009-09-03 Thread gdeconto
I am thinking that my example was too simple/generic :-U. It is possible for more several dynamic fields to exist and other functionality to be required. i.e. what about if my example had read: http://localhost:8994/solr/select?q=((Foo1:3 OR Foo2:3 OR Foo3:3 OR … Foo999:3) AND (Bar1:1 OR Bar2:1