Hi,
The current collapsing feature gives the count of the hits for a query.
What collapsing actually is supposed to do is return the count of records
returned grouped on a particular field. Pagination with total number of hits
is not possible.
Is there a work around in collapsing which will do s
Hi,
Also the collapsing feature doesn't give the count of number of records
returned (grouped by a field value). It gives the count of the hits for the
query. This is really not useful when it comes to pagination.
Is there a way, at least in collapsing, wherein I can get the count of
actual reco
Hi,
I would like get the total count of the facet.field response values:
i.e. if my response id
17
12
12
9
4
I would like the count of uniques names found as 5 ("Canon
USA"+"Olympus"+"Sony"+"Panasonic"+"Nikon")
On Fri, Jul 16, 2010 at 7
Hi,
I have a scenario in which I have to find count of distinct unique IDs
present in a field (rootId field in my case) for a particular query.
I require this for pagination purpose.
Is there a way in Solr to do something like this we do in SQL:
select count(distinct(rootId))
from table
where (
t; SolrQuery q = new SolrQuery();
> q.set("q","*:*");
> q.set("facet","true");
> q.set("facet.data", "pub");
> q.set("facet.date.start", "2000-01-01T00:00:00Z")
> ... etc.
>
>
> Geert-Jan
>
> 2010/6/2 Ninad
Hi,
I want to hit the query given below :
?q=*:*&facet=true&facet.date=pub&facet.date.start=2000-01-01T00:00:00Z&facet.date.end=2010-01-01T00:00:00Z&facet.date.gap=%2B1YEAR
using SolrJ. I am browsing the net but not getting any clues about how
should I approach it. How can SolJ API be used to c
/31/10, Erik Hatcher wrote:
> Maybe what you're looking for is facet.mincount=1 ?
>
> Erik
>
> On May 31, 2010, at 6:01 AM, Ninad Raut wrote:
>
>> Hi,
>>
>> Is it possible to restrict the values returned by Facet Fields using
>> Filter
>> Quer
Hi,
Is it possible to restrict the values returned by Facet Fields using Filter
Queries to Group on only those documents will pass the filter query passed
in filter criteria??
I am under the assumption that fq is disjoint from facet.field function. Let
me know if my assumptions are right or wron
nd by default
> faceting is based off the search results. Use excl to have facets count
> outside the actual constrained search results.
>
>Erik
>
>
> On May 28, 2010, at 4:17 AM, Ninad Raut wrote:
>
> Hi All,
>> I have a use case where I have to tag facet
Hi All,
I have a use case where I have to tag facet queries.
Here is the code snippet for what I tried:
query.addFilterQuery("{!tag=NE}med:Blog AND slev:neutral");
query.addFacetQuery("{!tag=NE key=BLOG}med:Blog AND slev:neutral");
query.addFilterQuery("{!tag=P}med:Review AND slev:neutral");
query
nt (useful for navigation and tag
> cloud
> generation) but doesn't return the documents themselves. Check the
> facetting
> wiki [1] for more information.
>
>
>
> [1]: http://wiki.apache.org/solr/SimpleFacetParameters
>
>
> Cheers
>
>
>
>
> On T
job.
>
>
>
> On Thursday 08 April 2010 10:16:09 Ninad Raut wrote:
> > Hi,
> >
> > I have a business use case where in I have to generate a tagcloud for
> words
> > with freequency greater than a specified threshold.
> >
> > The way I store records in
Hi,
I have a business use case where in I have to generate a tagcloud for words
with freequency greater than a specified threshold.
The way I store records in solr is :
For every solr document (which includes content) I store mutlivalued entry
of buzzwords with their frequency.
The technical pr
Is this feature included in SOLR 1.4??
On Wed, Sep 23, 2009 at 3:29 PM, Shalin Shekhar Mangar <
shalinman...@gmail.com> wrote:
> On Wed, Sep 23, 2009 at 3:14 PM, Ninad Raut >wrote:
>
> > Hi,
> > When we have news content crawled we face a problme of same content
Hi,
When we have news content crawled we face a problme of same content being
repeated in many documents. We want to add a near duplicate document filter
to detect such documents. Is there a way to do that in SOLR?
Regards,
Ninad Raut.
Hi,
I want to count the words between two significant words like "shell" and
"petroleum". Or want to write a query to find all the documents where the
content has "shell" and "petroleum" in close proximity of less than 10 words
between them.
Can such quries be created in Solr?
Regards,
Ninad Raut.
Hi,
Can we create a Join query between two indexes on two cores? Is this
possible in Solr?
I have a index which stores author profiles and other index which stores
content and a author id as a reference. Can I query as
select Content,AuthorName
from Core0,Core1
where core0.authorid = core1.authorid
Hi,
I want to know whats the maximum limit to how many dynamic fields could be
stored per document.
Thanks,
Ninad.
Are all TrieRange fields sortable?
On Fri, Aug 14, 2009 at 10:50 PM, Yonik Seeley
wrote:
> On Fri, Aug 14, 2009 at 1:15 PM, Ninad Raut
> wrote:
> > TrieRange ... what are its features? What additional functionality they
> > provide?
>
> - a generally more efficient Fi
Fri, Aug 14, 2009 at 11:48 PM, Grant Ingersoll wrote:
> Do you need to know, when you match which type of word it was, or do you
> just need to know if there was a match?
>
> On Aug 14, 2009, at 5:17 AM, Ninad Raut wrote:
>
> Hi,
>> I have a scenario in which I need to st
t; (solr/conf/schema.xml.original) and i don't see tint, etc listed.
> > So either they''re new in 1.4 and I don't know about them or they were
> > manually defined.
> >
> > Can you post your schema.xml entries for tint? (along with any comments
> it
>
ueries?
>
>
> sortMissingLast="true" omitNorms="true"/>
>
>
> On Fri, Aug 14, 2009 at 11:08 AM, Ninad Raut >wrote:
>
> > Hi,
> > I want certain fields of type int,float and date to be sortable and I
> > should
> > be able to run my range qu
Hi,
I have a scenario in which I need to store Buzz words and their frequency in
a particular document.
Also along with the buzzwords I have possible basewords, portar words
associated with the buzzwords.
Buzzword,Baseword,Portar word all need to be searchable.
How can I use dynamic fields and my S
Hi,
I want certain fields of type int,float and date to be sortable and I should
be able to run my range queries as well as facet queries on those fields.
Now as far as I know sint,sfloat fieldtypes make the fields sortable and
tint,tfloat,tdate allow range queries on the fields.
I want both these
urns out to be true,
> lets
> > open a JIRA issue asap.
> I checked the code . it is not yet supported Object->SolrInputDocument
> is not yet for supported for dynamic fields
> >
> > Cheers
> > Avlesh
> >
> > On Tue, Aug 11, 2009 at 10:45 AM, Ninad R
tand" the map
> type property while firing update requests. I don't think it works in the
> way you have used it :(
>
> Noble, can you please confirm this? If my guess turns out to be true, lets
> open a JIRA issue asap.
>
> Cheers
> Avlesh
>
> On Tue, Aug 11, 2009
Can you share the field definition please? And a peek into how are you
> populating these fields?
>
> Cheers
> Avlesh
>
> On Tue, Aug 11, 2009 at 10:29 AM, Ninad Raut >wrote:
>
> > Hi,
> > when I do a *:* query I can see the dynamic field as show below:
> >
Hi,
when I do a *:* query I can see the dynamic field as show below:
{Germinait=0.7}
but when I try to query for the same like ne_Germinait:0.7 I get zero
records.
All the other field which are not dynamic can be easily queried.
Can some one please tell me how to query for dynamic fields?
Thanks.
N
uot; after adding beans via the SolrServer.
>
> PS: I am damn sure that you don't intend to create a new instance of
> CommonsHttpSolrServer everytime.
>
> Cheers
> Avlesh
>
> On Mon, Aug 10, 2009 at 5:55 PM, Ninad Raut >wrote:
>
> > I am not getting any excpetion,
I am not getting any excpetion, but the document is not getting added to
Solr.
Here is the code:
public class ClientSearch {
public SolrServer getSolrServer() throws MalformedURLException{
//the instance can be reused
return new CommonsHttpSolrServer("http://germinait22:8983/solr/core0/";);
Hi,
I have two Ids DocumentId and AuthorId. I want both of them unique. Can i
have two in my document?
id
authorId
Regards,
Ninad Raut
jira/browse/SOLR-1129> will give you
> more insights.
>
> Cheers
> Avlesh
>
> On Mon, Aug 10, 2009 at 10:58 AM, Ninad Raut >wrote:
>
> > Hi,
> > I have a Entitiy and a Value associated with it. I want to store this
> value
> > as a pair in Solr.
> &g
Hi,
I have a Entitiy and a Value associated with it. I want to store this value
as a pair in Solr.
I have a Java Object which I am mapping to Solr Doc using
org.apache.solr.client.solrj.beans.Field . Can I also store a Map? and how
can I do so?
This is how I want it to be done:
@Field
Map entity;
Hi,
Has anyone used Solr 1.4 in production? There are some really nice features
in it like
- Directly adding POJOs to Solr
- ReplicationHandler etc.
Is 1.4 stable enought to be used in production?
; http://people.apache.org/builds/lucene/solr/nightly/
>
> On Fri, Aug 7, 2009 at 12:47 PM, Ninad Raut
> wrote:
> > Hi,
> > I want to know how to setup master-slave configuration for Solr 1.3 . I
> > can't get documentation on the net. I found one for 1.4 but not for 1.3 .
&g
Hi,
I want to know how to setup master-slave configuration for Solr 1.3 . I
can't get documentation on the net. I found one for 1.4 but not for 1.3 .
ReplicationHandler is not present in 1.3.
Also, I would like to know from will I get the Solr 14. distribution. The
Solr Site lists mirrors only fo
नोब्ळ्
> The you should consider replicating the index to the local intranet
> and still run that it as a separate app.
>
> On Fri, Aug 7, 2009 at 10:53 AM, Ninad Raut
> wrote:
> > The remote web app will be accessing the Solr server via internet. Its
> not a
> > intra
lication". How remote? If the indexes are
> big, then copying them to a remote location is a lot of traffic.
>
> wunder
>
> On Aug 6, 2009, at 8:49 PM, Ninad Raut wrote:
>
> Hi Noble,
>> Can you explain a bit more on how to use Solr "out of the box". I am
> On Thu, Aug 6, 2009 at 12:24 PM, Ninad Raut
> wrote:
> > Hi,
> > I have a search engine on Solr. Also I have a remote web application
> which
> > will be using the Solr Indexes for search.
> > I have three scenarios:
> > 1) Transfer the Indexes to the Remote
>
> > Noble Paul നോബിള് नोब्ळ् wrote:
> >>
> >> just copy the whole index into /index and start Solr. That
> >> should just fine
> >>
> >> On Thu, Aug 6, 2009 at 5:17 PM, Ninad Raut
> >> wrote:
> >>
> >>>
> >
what about the schema and querying?? there should be some changes to the
solr schema I think. Correct me if I am wrong.
2009/8/6 Noble Paul നോബിള് नोब्ळ्
> just copy the whole index into /index and start Solr. That
> should just fine
>
> On Thu, Aug 6, 2009 at 5:17 PM, Ninad
Hi,
Is there a way to import existing Lucene Indexes to SOLR?? I have a huge
lucene index which I want to import into SOLR server.
Regards,
Ninad Raut.
some code to transfer the index
- Need to double my effort to update,merge,optimize index
2)Use HTTP GET
- Will increase load on the Solr server
- No extra code needed for transfer
3) Embedded Serach
- Use SolrJ for querying
I want to know which is the best approach.
Regards,
Ninad
Try out this with SolrJ
SolrQuery query = new SolrQuery();
query.setQuery(q);
// query.setQueryType("dismax");
query.setFacet(true);
query.addFacetField("id");
query.addFacetField("text");
query.setFacetMinCount(2);
On Thu, Jul 23, 2009 at 5:12 PM, Nishant Chandra
wrote:
> Hi,
>
44 matches
Mail list logo