as my problem is changed completely from first post so i had created new
thread for that.
On Wed, Jan 14, 2015 at 7:31 PM, Naresh Yadav wrote:
> just wanted to share schema and results for same :
>
> solr version : 4.6.1
> Schema : http://www.imagesup.net/?di=10142124357616
> Code :http://w
just wanted to share schema and results for same :
solr version : 4.6.1
Schema : http://www.imagesup.net/?di=10142124357616
Code :http://www.imagesup.net/?di=10142124381116
Response Group : http://www.imagesup.net/?di=1114212438351
Response Terms : http://www.imagesup.net/?di=614212438580
P
I tried what you said also appended group.ngroups=true and got same result
not expected onengroups coming is 1.
i am on solr-4.6.1 single machine default setup.
On Wed, Jan 14, 2015 at 4:43 PM, Norgorn wrote:
> Can u get raw SOLR response?
>
> For me grouping works exactly the way u expect i
Can u get raw SOLR response?
For me grouping works exactly the way u expect it to work.
Try direct query in browser to be sure the problem is not in your code.
http://192.168.0.1:8983/solr/collection1/select?q=*:*&group=true&group.field=tenant_pool
--
View this message in context:
http://luce
Thanks much, now i got better idea on stored & indexed works internally in
solr.
>From this i tried and modified few things to understand grouping logic.
*Schema :*
*Code :*
SolrQuery q = new SolrQuery().setQuery("type:t1");
q.set(GroupParams.GROUP, true);
q.set(GroupParams.GROUP_FIELD, "tenant
bq: My question is for indexed=false, stored=true field..what is optimized way
to get unique values in such field.
There isn't any. To do this you'll have to read the doc from disk,
it'll be decompressed
along the way and then the field is read. Note that this happens
automatically when
you call d
Erick, my schema is same no change in that..
*Schema :*
my guess is i had not mentioned indexed true or falsemay be default
indexed is true
My question is for indexed=false, stored=true field..what is optimized way
to get unique values in such field..
On Tue, Jan 13, 2015 at 10:07 PM
Something is very wrong here. Have you perhaps been changing your
schema without re-indexing? And I recommend you completely remove
your data directory (the one with "index" and "tlog" subdirectories) after
you change your schema.xml file.
Because you're trying to group on a field that is _not_ in
Hi jack,
Thanks for replying, i am new to solr please guide me on this. I have many
such columns in my schema
so copy field will create lot of duplicate fields beside i do not need any
search on original field.
My usecase is i do not want any search on tenant_pool field thats why i
declared it as
That's your job. The easiest way is to do a copyField to a "string" field.
-- Jack Krupansky
On Tue, Jan 13, 2015 at 7:33 AM, Naresh Yadav wrote:
> *Schema :*
>
>
> *Code :*
> SolrQuery q = new SolrQuery().setQuery("*:*");
> q.set(GroupParams.GROUP, true);
> q.set(GroupParams.GROUP_FIELD, "ten
10 matches
Mail list logo