I am a computer geek with interest in Java, C#, and Apache Solr, business models, visualization and whatever else catches my fancy.

I wrote a book on Solr: http://bit.ly/ZPSSt4 and maintain useful Solr resources at http://www.solr-start.com/

3h
comment What is the best way to store historical data in Solr?
Are you just storing a presence of milk? Like a binary flag? Or do you have additional information, such as number of milk bottles, etc. This affects the shape of data. Also, are your date ranges always the same (e.g. today/this week/this month) or variable each time?
3h
answered Defining nested entities in Solr Data Import Handler
1d
comment How to query a specific document by id
You can also put the track_id:ID into the fq part. That way you don't need AND and ID is not contributing to the score/ranking calculations (a tiny bit faster).
1d
answered solr: use filter if field contains value
2d
answered Is it possible to have a document match any query for a particular field?
2d
answered solr update with json causes error
2d
answered JSON inside JSON from SOLR
2d
comment JSON inside JSON from SOLR
Old knowledge. Now, Solr does allow nested documents.
2d
answered Defining a Sitecore Field in Solr's schema.xml
Jul
22
comment How to make a chart that graphs frequency of entries?
In Excel 2010, that group option is so hard to notice that I had to triple check the different locations, drop-downs and what not before I found it in the Options ribbon and only active when you click on the actual table column.
Jul
21
comment solr find the most used word after a given word
facet.prefix is what you want. The q is fq will limit the actual documents you are doing the counts against. If you are looking at all documents to derive your counts from, just leave q as *:*
Jul
21
answered Data import from mysql to solr?
Jul
20
comment solr find the most used word after a given word
Actually, just do a facet on that field, not a search. That will give you the count breakdowns, as the faceting works on the tokenized (so shingled) representation.
Jul
16
awarded Yearling
Jul
16
awarded Yearling
Jul
15
answered Doing complex multi-table search queries using Solr
Jul
15
comment Apache Solr Indexing from DIH
If your id field is id then you are picking the value for that from outer entity. Which means all your inner entities will be competing for that id value. You need to create a composite id or use something like UUIDUpdateProcessorFactory
Jul
13
answered Solr query only match if all tokens present in the query
Jul
13
comment Apache Solr Indexing from DIH
What's your ID field? It needs to be unique. If you are using id from parent entity, they will override each other. Maybe you need to template transform the ID as well.
Jul
12
comment automatic language detect in solr 4.5.1 during indexing time
You did not say what the actual next-step problem you are facing is. But with config above, you might be getting an exception because the lib directive above miss-spells regex as regx. So you are probably not getting your libraries.
1 2 3 4 5