Highlight documents using group.query?

2018-10-18 Thread atawfik
Hi, if I am using a group.query to get documents, is there a way to highlight the documents matching group.query using the matching query itself? If I am not mistaken currently solr will highlight documents using the main query pass via the request q parameter? -- Sent from:

Duplicate docs in Solr pagination

2016-12-11 Thread atawfik
Hi all, I am experiencing a weird behavior with Solr. Pagination gives duplicates results. Requesting *http://localhost:8983/solr/tweets/select?q=text:test=0=csv=id,timestamp=doc_type:tweet* gives me: id,timestamp 801943081268428800,2016-11-25T00:18:24.613Z

Large scale Update of solr indexed documents

2014-12-17 Thread atawfik
Hi all, I have a scenario where I need to generate summaries of indexed documents. So, I initially thought I should do that at Nutch because I am using Nutch to push documents to Solr. However, I will need some statistics about terms and documents. Hence, I will have to duplicate analysis at

Re: Facets for Child Documents?

2014-10-10 Thread atawfik
Yes. One way is using a join query to link authors to books. The query will look like this: q={!join to=author_id_fk to=author_id} publication_date:[...] The other way is using grouping. Here, you first retrieved books based their publication then group them on their authors. -- View this

Re: Implementing custom analyzer for multi-language stemming

2014-09-18 Thread atawfik
Hi, The author of Solr in Action has produced something similar to what you want. I even has used it for one of my projects where I needed to automatically analyze languages. Here is the link to its code https://github.com/treygrainger/solr-in-action/tree/master/src/main/java/sia/ch14

Re: Join and non-Join query give different results

2014-07-19 Thread atawfik
I have figured it out. The reason is simply the type of join in Solr. It is an outer join. Since both filter queries are executed separately, a house that has available documents with discount 1 or (sd_year:2014 AND sd_month:11) will be returned even though my intention was applying bother

Join and non-Join query give different results

2014-07-13 Thread atawfik
Hi everyone, I am trying to link two types of documents in my Solr index. The parent is named house and the child is named available. So, I want to return a list of houses that have available documents with some filtering. However, the following query gives me around 18 documents, which is wrong.