Re: Restricting/Filtering facet results

2016-01-21 Thread Achim Domma
The facet.query parameter is what you're looking for. > Use it like so: > &facet.query=field:(UserB OR UserC) > Check out the wiki for more details > > On Thu, 21 Jan 2016, 14:41 Achim Domma wrote: > >> Hi, >> >> is there some way to restrict/filter the fac

Restricting/Filtering facet results

2016-01-21 Thread Achim Domma
Hi, is there some way to restrict/filter the facetting results? Our use case is the following: Our documents have a multi value field, which holds user ids, so the values might be like this: doc1 = ['UserA', 'UserB', 'UserC'] doc2 = ['UserA', 'UserB'] doc3 = ['UserA', 'UserC'] Now I execute a s

Keeping frequently changing fields out of SOLR

2015-04-08 Thread Achim Domma
Hi, I have a core with about 20M documents and the size on disc is about 50GB. It is running on a single EC2 instance. If the core is warmed up, everything is running fine. The problem is the following: We assign categories (similar to tags) to documents. Those are stored in a multivalue string f

Extensibility and code reuse: SOLR vs Lucene

2014-05-20 Thread Achim Domma
Hi, I have a project, where we need to do aggregations over facetted values. The stats component is not powerful enough anymore and the new statistic component seems not to be ready yet. I understand that it's not easy to create a general purpose component for this task. I decided to check whet

Having two document sets in one index, "separated" by filter query.

2013-10-23 Thread Achim Domma
Hi, I have two document sets, both having the same schema. On set is the larger reference set (lets say a few hundred thousand documents) and the smaller set is some user generated content (a few hundreds or thousands). In most cases, I just want to search on the larger reference sets but some

MoreLikeThis handler and pivot facets

2013-06-26 Thread Achim Domma
Hi, I have the current worklow, which works fine: - User enters search text - Text is send to SOLR as query. Quite some faceting is also include in the request. - Result comes back and extensive facet information is displayed. Now I want to allow my user to enter a whole reference text as searc

Re: The book: Solr 4.x Deep Dive - Early Access Release #1

2013-06-21 Thread Achim Domma
I'm sure people will pay 10$ ;-) Am 21.06.2013 um 15:12 schrieb Ralf Heyde: > I think people will pay 10$ :) > > > On 06/21/2013 03:04 PM, Jack Krupansky wrote: >> I’m expecting to self-publish the first Early Access Release for my book, >> Solr 4.x Deep Dive, on lulu.com sometime today. It is

Re: Solr + Groovy

2013-06-03 Thread Achim Domma
olr/4_3_0/solr-core/org/apache/solr/update/processor/StatelessScriptUpdateProcessorFactory.html > > Are there any of your requirements that that doesn't address? > > -- Jack Krupansky > > -----Original Message- From: Achim Domma > Sent: Monday, June 03, 2013 3:07 AM >

Constant score for more like this reference document

2013-06-03 Thread Achim Domma
I call the mlt handler using a query which searches for a certain document (?q=id:some_document_id). The reference document is included in the result and the score is also returned. I found out, that the score if fixed, independent of the document. So for each document id I get the same score. T

Solr + Groovy

2013-06-03 Thread Achim Domma
Hi, I have some query building and result processing code, which is currently running as "normal" Solr client outside of Solr. I think it would make a lot of sense to move parts of this code into a custom SearchHandler or SearchComponent. Because I'm not a big fan of the Java language, I would

Re: Setting up a development environment

2013-05-31 Thread Achim Domma
Shalin and Shawn, thanks for your help! Just for the records, in case somebody else having the same problems will read this thread: I'm using Ubuntu 13.02, ant 1.8.2, Oracle Java 1.7.0_21-b11 and the community edition of IntelliJ 12. I followed the steps outlined by Shalin. Everything works lik

Setting up a development environment

2013-05-31 Thread Achim Domma
I would like to work with the Solr source code. My idea is to "debug" some unit tests to get a better understanding of the inner workings of Solr. And perhaps I might implement some custom code in the future. But to get started, I need a working development environment where I can build and debu

Specifiy colums to return for mlt results

2013-05-27 Thread Achim Domma
Hi, I'm executing a search and retrieve more like this results. For the search results, I can specify the columns to be returned via the "fl" parameter. The "mlt.fl" parameter defines the columns to be used for similarity calculation. The mlt-results see to return the columns specified in "fl"

Re: MoreLikeThisHandler + Facets

2013-05-21 Thread Achim Domma
n? I mean, the whole point of the facet numbers is to let users > know what's out there. You must have some other rationale in mind - what is > it? > > -- Jack Krupansky > > -Original Message- From: Achim Domma > Sent: Tuesday, May 21, 2013 5:47 AM > To: solr-us

MoreLikeThisHandler + Facets

2013-05-21 Thread Achim Domma
Im calling the MoreLikeThisHandler with a query like "id:some_doc_id", so I would like to get documents which are similar to one specific document. I restrict the result to 25 rows and I calculate facets for some fields. On what data are those facets calculated? According to the documentation ou

Re: Store complex (i.e. label + id) meta data in SOLR document

2013-05-20 Thread Achim Domma
s, combining the name in different ways, such as "Berlin", > "Berlin:DE", "Berlin, NJ", "Berlin:Germany", "Berlin GERMANY", etc. > > Ultimately, the idea for facets is not that they uniquely identify an entity, > but that a combination of

Store complex (i.e. label + id) meta data in SOLR document

2013-05-20 Thread Achim Domma
I store documents having some meta data that is composed out of multiple values. Usually an id with a label. A simple example would be the name of a city and the unique id of that city. The id is needed, because different cities can have the same name like Berlin in Germany and Berlin in the US.

Getting "explain" information of more like this search in a more usable format

2013-05-13 Thread Achim Domma
Hi, I'm executing a more like this search using the MoreLikeThisHandler. I can add "score" to the fields to be returned, but that's all I could find about getting information about how/why documents match. I would like to give my users more hints why documents are similar, so I would like to di

Returning similarity values for more like this search

2013-04-19 Thread Achim Domma
Hi, I'm executing a search including a search for similar documents (mlt=true&mlt.fl=) which works fine so far. I would like to get the similarity value for each document. I expected this to be quite common and simple, but I could not find a hint how to do it. Any hint how to do it would b

Re: Accessing raw index data

2013-01-11 Thread Achim Domma
d in Lucene indexes, which are documented at XXX. In a request handler you can access the indexes via YYY.", I would be perfectly happy figuring out the rest on my own. Documentation about 4.0 is a bit limited, so it's hard to find an entry point. cheers, Achim Am 11.01.2013 um 20:54 schr

Accessing raw index data

2013-01-11 Thread Achim Domma
Hi, I have just setup my first Solr 4.0 instance and have added about one million documents. I would like to access the raw data stored in the index. Can somebody give me a starting point how to do that? As a first step, a simple dump would be absolutely ok. I just want to play around and do s