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 m

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 results/do

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 u

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 Que

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 sea

Advanced search with results matrix

2012-05-03 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 deci

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, textfield3&fq=&textfield1:solr AND > struts&fq=textfield2:solr AND struts&fq=textfield3:solr AND struts > &fq=companyid:100 Is it not possible to build query without fil

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: documentid textfield1 Now, I want to search for documents containing "solr" and "struts" in all 3 text fields (textfield1, textfie

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 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 examp

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: In this case, I expect/want to list/see all the indexed terms of a

RE: How to index and query "C#" as whole term?

2011-05-16 Thread Gnanakumar
or fields to facet on). >> >> But you may want to use Text type with different analyzers selected. >> You probably want Text type so the value is still split into different >> tokens on word boundaries; you just don't want an analyzer set that >> removes punct

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