Re: Mixing AND OR conditions with query parameters

2017-04-24 Thread VJ
Thanks MIchael and Erick. With your valuable comments I finally managed to get the expected result out of the query. Regards, VJ On Mon, Apr 24, 2017 at 8:17 PM, Erick Erickson wrote: > Michael's comments are spot on, and the deeper thing you should be > aware of is that Solr qu

Mixing AND OR conditions with query parameters

2017-04-24 Thread VJ
Hi All, I am facing issues with OR/AND conditions with query parameters: fq=cioname:"XYZ" & (fq=attr1:trueORattr2:true) The queries are not returning expected results. I have tried various permutation and combinations but couldn't get it working. Any pointers on this? Regards, VJ

Re: distinct records based on a field

2017-04-05 Thread VJ
cat2 out of those 10 records there may be duplicate values for B and then I am faceting it on C, So I get something like Cat1:3 (Foo,Bar,Bar) Cat2:2 (Foo,Bar) but I want the output as Cat1:2 (Foo,Bar) Cat2:2 (Foo,Bar) Is it possible to achieve the desired output with solr query? Thanks, VJ O

distinct records based on a field

2017-04-05 Thread VJ
Hi, Is there any way to pass only distinct records (based on a field) out of a solr query? I want to facet the records based on a field but want to restrict the results to distinct records before applying the facet. Thanks, VJ

Re: - Solr 4.0 - How do I enable JSP support ? ...

2012-12-10 Thread vj
For anyone else looking to run JSPs on solr 4.0, note that supplying OPTIONS=jsp to the server etc doesn't work (checkout startup config in start.jar and you'll see why) - don't bother with all that. Instead do the following: create a directory ext under: $SOLR_HOME\example\lib copy the following j

Re: Can't Delete Record

2008-08-11 Thread Vj Ali
the id as defined in schema.xml? > What is the query you are using to delete? Does that same query show > results > if you search through the admin? > Are there any exceptions in the logs? > > On Mon, Aug 11, 2008 at 7:18 PM, Vj Ali <[EMAIL PROTECTED]> wrote: > >&g

Can't Delete Record

2008-08-11 Thread Vj Ali
Hi: I am tying to delete the index by both and by using query. But when i searched the record again it again shows me the XML of the deleted record. i also sends tag as well. Why record is not deleting??? please help me urgent. Regards, Ali Vajahat Lahore Pakistan -- View this message in cont