RE: Query facet count and its matching documents

2012-07-17 Thread Gnanakumar
Any ideas on this? We're running Apache Solr v3.1 and SolrJ is our client. We're passing multiple Arbitrary Faceting Query (facet.query) to get the number of matching documents (the facet count) evaluated over the search results in a *single* Solr query. My use case demands the actual

Query facet count and its matching documents

2012-07-14 Thread Gnanakumar
Hi, We're running Apache Solr v3.1 and SolrJ is our client. We're passing multiple Arbitrary Faceting Query (facet.query) to get the number of matching documents (the facet count) evaluated over the search results in a *single* Solr query. My use case demands the actual matching facet

RE: Advanced search with results matrix

2012-05-09 Thread Gnanakumar
My question is, is it possible to run multiple combination of search queries to just get only result count in a single trip without using facet.query? No. AFAIK. Yes, you're true. I just tried googling on this and I'm finding that a requirement similar to mine is being filed under New

RE: Advanced search with results matrix

2012-05-08 Thread Gnanakumar
Hi Mikhail, have you considered to junk your subqueries into disjunction (BooleanQuery.Occurs.SHOULD) and request http://wiki.apache.org/solr/SimpleFacetParameters#facet.query_:_Arbitrary_Qu ery_Faceting? Thanks for pointing/guiding me at the right time and/or direction about Solr Facet

Advanced search with results matrix

2012-05-04 Thread Gnanakumar
Hi, First off, we're a happy user of Apache Solr v3.1 Enterprise search server, integrated and successfully running in our LIVE Production server. Now, we're enhancing our existing search feature in our web application as explained below, that truly helps application users in making informed

RE: Advanced search with results matrix

2012-05-04 Thread Gnanakumar
1. If I understand correctly you just need to perform one query. Like so (translated to propper syntax of course): (SQL Server OR SQL) OR (Visual Basic OR VB.NET) OR (Java AND JavaScript) No, it's not just one single query, rather, as I've mentioned before, it's combination of searches

How do I write/build query using qf parameter of dismax handler for my use case?

2011-05-19 Thread Gnanakumar
Hi, How do I write/build a Solr query using dismax handler for my application specific use case explained below: Snippet of fields definition from schema.xml: field name=documentid type=string indexed=true stored=true required=true / field name=companyid type=long indexed=true stored=true

RE: How do I write/build query using qf parameter of dismax handler for my use case?

2011-05-19 Thread Gnanakumar
edismax supports full query format of lucene parser.But you can search using filter queries eg. qf=textfield1, textfield2, textfield3fq=textfield1:solr AND strutsfq=textfield2:solr AND strutsfq=textfield3:solr AND struts fq=companyid:100 Is it not possible to build query without filter

How to list/see all the indexed terms of a particular field in a document?

2011-05-18 Thread Gnanakumar
Hi, I'm using Apache Solr v3.1. How do I list/get to see all the indexed terms of a particular field in a document (by passing Unique Key ID of the document)? For example, I've the following field definition in schema.xml: field name=mydocumentid type=string indexed=true stored=true

RE: How to list/see all the indexed terms of a particular field in a document?

2011-05-18 Thread Gnanakumar
field in a document? ant luke? On Wed, May 18, 2011 at 11:47 AM, Gnanakumar gna...@zoniac.com wrote: Hi, I'm using Apache Solr v3.1. How do I list/get to see all the indexed terms of a particular field in a document (by passing Unique Key ID of the document)? For example, I've the following

How to index and query C# as whole term?

2011-05-16 Thread Gnanakumar
Hi, I'm using Apache Solr v3.1. How do I configure/allow Solr to both index and query the term c# as a whole word/term? From Analysis page, I could see that the term c# is being reduced/converted into just c by solr.WordDelimiterFilterFactory. Regards, Gnanam

How does Solr's MoreLikeThis component internally work to get results?

2011-05-13 Thread Gnanakumar
Hi, I'm new to Apache Solr and am currently exploring/trying to make use of MoreLikeThis as a search component (instead of dedicated request handler). I'm finding difficult to understand clearly on how this works internally to get more-like-this results? For example, I'm trying to search for the

How does Solr's MoreLikeThis component internally work to get results?

2011-05-13 Thread Gnanakumar
Hi, I'm new to Apache Solr and am currently exploring/trying to make use of MoreLikeThis as a search component (instead of dedicated request handler). I'm finding difficult to understand clearly on how this works internally to get more-like-this results? For example, I'm trying to search for the