Re: Is it true that I cannot delete stored content from the index?

2011-06-18 Thread Mohammad Shariq
I have define in my solr and Deleting the docs from solr using this uniqueKey. and then doing optimization once in a day. is this right way to delete ??? On 19 June 2011 05:14, Erick Erickson wrote: > Yep, you've got to delete and re-add. Although if you have a > defined you > can just re-add

Re: Is it true that I cannot delete stored content from the index?

2011-06-18 Thread Erick Erickson
Yep, you've got to delete and re-add. Although if you have a defined you can just re-add that document and Solr will automatically delete the underlying document. You might have to optimize the index afterwards to get the data to really disappear since the deletion process just marks the document

Optimize taking two steps and extra disk space

2011-06-18 Thread Shawn Heisey
I've noticed something odd in Solr 3.2 when it does an optimize. One of my shards (freshly built via DIH full-import) had 37 segments, totalling 17.38GB of disk space. 13 of those segments were results of merges during initial import, the other 24 were untouched after creation. Starting at _

Re: Multiple indexes

2011-06-18 Thread François Schiettecatte
You would need to run two independent searches and then 'join' the results. It is best not to apply a 'sql' mindset to SOLR when it comes to (de)normalization, whereas you strive for normalization in sql, that is usually counter-productive in SOLR. For example, I am working on a project with 30+

Re: Multiple indexes

2011-06-18 Thread shacky
Il 18 giugno 2011 20:27, François Schiettecatte ha scritto: > Sure. So I can have some searches similar to JOIN on MySQL? The problem is that I need at least two tables in which search data..

Re: Multiple indexes

2011-06-18 Thread François Schiettecatte
Sure. François On Jun 18, 2011, at 2:25 PM, shacky wrote: > 2011/6/15 Edoardo Tosca : >> Try to use multiple cores: >> http://wiki.apache.org/solr/CoreAdmin > > Can I do concurrent searches on multiple cores?

Re: Multiple indexes

2011-06-18 Thread shacky
2011/6/15 Edoardo Tosca : > Try to use multiple cores: > http://wiki.apache.org/solr/CoreAdmin Can I do concurrent searches on multiple cores?

Re: merging highlights

2011-06-18 Thread Jamie Johnson
Perhaps a better question is this. Looking at DefaultSolrHighlighter I'd like to make modifications so that when doing highlighting on a specific field it automatically checks to see if there is another _phonetic field available to also pull tokens from. It looks like I could do this extending th

Is it true that I cannot delete stored content from the index?

2011-06-18 Thread Gabriele Kahlout
Hello, I've indexing with the content field stored. Now I'd like to delete all stored content, is there how to do that without re-indexing? It seems not from lucene FAQ : How

Re: Why does paste get parsed into past?

2011-06-18 Thread François Schiettecatte
What I meant was what stemmer are you using? Maybe it is the stemmer that is cutting the 'e'. You can check that on the field analysis solr web page. François On Jun 18, 2011, at 11:42 AM, Gabriele Kahlout wrote: > I'm !sure where those are set, but on reflection I'd keep the default > settings

Re: Why does paste get parsed into past?

2011-06-18 Thread Gabriele Kahlout
I'm !sure where those are set, but on reflection I'd keep the default settings. My real issue is why are not query keywords treated as a set? 2011/6/18 François Schietteca

merging highlights

2011-06-18 Thread Jamie Johnson
I have a setup where I have a title and a phonetic_title, I'm using the edismax query parser and doing a weighted search across the two fields, there are cases where phonetic_title matches part of the string and title matches another, i.e. if my query was foo AND subject:bar and the fields had tit

Re: Why does paste get parsed into past?

2011-06-18 Thread François Schiettecatte
What do you have set up for stemming? François On Jun 18, 2011, at 8:00 AM, Gabriele Kahlout wrote: > Hello, > > Debugging query results I find that: > paste > content:past > > Now paste and past are two different words. Why does Solr not consider > that? How do I make it? > > -- > Regards,

Boost Strangeness

2011-06-18 Thread Judioo
WONDERFUL! Just reporting back. This document is ACE http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters For explaining what the filters are and how to affect the analyzer. Erik your statement "First, boosting isn't absolute"  played on me so I continued to investigate boosting. I found

Why are not query keywords treated as a set?

2011-06-18 Thread Gabriele Kahlout
q=past past 1.0 = (MATCH) sum of: * 0.5 = (MATCH) fieldWeight(content:past in 0), product of:* 1.0 = tf(termFreq(content:past)=1) 1.0 = idf(docFreq=1, maxDocs=2) 0.5 = fieldNorm(field=content, doc=0) * 0.5 = (MATCH) fieldWeight(content:past in 0), product of:* 1.0 = tf(termFreq(conte

Why does paste get parsed into past?

2011-06-18 Thread Gabriele Kahlout
Hello, Debugging query results I find that: paste content:past Now paste and past are two different words. Why does Solr not consider that? How do I make it? -- Regards, K. Gabriele --- unchanged since 20/9/10 --- P.S. If the subject contains "[LON]" or the addressee acknowledges the receipt

relevant result for query with boost factor on parameters

2011-06-18 Thread Naveen Gupta
Hi, I am trying to achieve this use case with following expectation three fields 1. field1 2. field2 3. field3 field1 should have the max relevance field2 should have the next field3 is the last the term will be entered by end user (say* rock roll*) i want to show the results which will cont

Re: Showing facet of first N docs

2011-06-18 Thread lee carroll
Hi Tommaso I don't think you can achieve what you want using vanilla solr. Facet counts will be for the result set matching not for the top n result sets matching. However what is your use case ? Assuming its for faceted navigation showing facets for the top n result sets could be confusing to yo

solr highliting feature

2011-06-18 Thread Romi
I want to highlight some search result value. i used solr for this. as i suppose solr provides highlighting feature. i used it i configure highlighting in solr-config.xml. i set hl="true" and hl.fl="somefield" at query time in my url when i run the url it gives me a xml representation of search res

How do i use solr spellchecker in my search application

2011-06-18 Thread Romi
Hi, I want to implement spellchecker in my search application using solr. i did required changes in solr-config.xml file. and run the url http://localhost:8983/solr/spell?q=hell ultrashar&spellcheck=true&spellcheck.collate=true&spellcheck.build=true as given in http://wiki.apache.org/solr/SpellCh

Re: Showing facet of first N docs

2011-06-18 Thread Dmitry Kan
Do you mean you would like to boost the facets that contain the most of the lemmas? What is the user query in this case and if possible, what is the use case (may be some other solution exists for what you are trying to achieve)? On Thu, Jun 16, 2011 at 5:23 PM, Tommaso Teofili wrote: > Thanks Dm

Re: Solr and Tag Cloud

2011-06-18 Thread Dmitry Kan
One option would be to load each term into shingles field and then facet on them for the user query. Another is to use http://wiki.apache.org/solr/TermsComponent. With the first one you can load not only separate terms, but also their sequences and then experiment with the optimal shingle sequence

Re: Caching queries.

2011-06-18 Thread Shawn Heisey
On 6/17/2011 4:26 PM, arian487 wrote: I'm wondering if something like this is possible. Lets say I want to query 5000 objects all pertaining to a specific search and I want to return the top 100 or something and cache the rest on my solr server. The next time I get the same query or something w

Re: Solr and Tag Cloud

2011-06-18 Thread Mohammad Shariq
I am also looking for the same, Is there any way to find the cloud-tag of all the documents matching a specific query. On 18 June 2011 09:42, Jamie Johnson wrote: > Does anyone have details of how to generate a tag cloud of popular terms > across an entire data set and then also across a query?