Near-Realtime-Search, CommitWithin and AtomicUpdates

2020-06-16 Thread Mirko Sertic
ncommited changes to get the right value of the source field, or is the source always the last commited value?   So in summary, does Solr AtomicUpdates use some kind of dirty-read mechanism do do its "magic" ?   Thanks in advance, Mirko

Re: how to store _text field

2015-04-28 Thread Mirko Torrisi
t field. Indeed, they start with a string of this kind: \n \n stream_content_type text/plain \n stream_size 1556 \n Content-Encoding UTF-8 \n X-Parsed-By org.apache.tika.parser.DefaultParser \n X-Parsed-By org.apache.tika.parser.txt.TXTParser \n Content-Type text/plain; charset=UTF-8 \n res

Addtion to solr wiki editor list

2015-04-19 Thread Mirko Cegledi
Hi there! I'd like to be added to the list of people who are able to edit the solr wiki at https://wiki.apache.org/solr. I'm working as a Java developer for a german company using Solr (and like it a lot) a lot and I would like to be able to correct things as soon as I find them without going to t

Re: how to store _text field

2015-03-19 Thread Mirko Torrisi
ontent is grabbed because I've obtained results using the search function but it is not showed because it is not setted to "store". I hope to be clear. Thanks very much. All the best, Mirko On 14/03/15 17:58, Erick Erickson wrote: Right, your schema.xml file will define, perhaps, so

Re: how to store _text field

2015-03-13 Thread Mirko Torrisi
Hi Alexandre, I need to visualize the content of _txt. For some reasons, actual it is not showed in the results (the "response"). I guess that it doesn't happen because it isn't stored (for some default setting that I'd like to change). Thanks for your help,

how to store _text field

2015-03-12 Thread Mirko Torrisi
problem. It could be grand also to copy it in a new field but I do not know how to do it with the last Solr (5) and the new kind of schema. I know that I have to use curl but I do not know how to use it to copy a field. Thank you in advance! Cheers, Mirko

Re: Invalid Date String:'1992-07-10T17'

2015-03-11 Thread Mirko Torrisi
Thanks very much for each of your replies. These resolved my problem and teach me something important. I have just discovered that I have another problem but I guess that I have to open another discussion. Cheers, Mirko On 10/03/15 20:30, Chris Hostetter wrote: ":" is a syn

Invalid Date String:'1992-07-10T17'

2015-03-10 Thread Mirko Torrisi
/Working+with+Dates, it should be right. I tried with others date, or just |-MM-DD, with no success. My goal is to group these speeches (hopefully using date math syntax). I would like to know if you suggest me to use date or tdate or other because I have not understood the difference. Thanks in advance,| Mirko||

Re: Create field date using name file

2015-03-02 Thread Mirko Torrisi
I forgot to add that the txt files are divided in directory following this rule: //MM/**files**. Regards, Mirko

Create field date using name file

2015-03-02 Thread Mirko Torrisi
t or TEXT_CRE_MMGG_X-XXX.txt (where every X are random numbers). I'd like to use a date field type to be able to use some group functions. Thank in advance. Have a nice week, Mirko

Re: Automatically build spellcheck dictionary on replicas

2013-12-04 Thread Mirko
if you > system doesn't update that dictionary file, then this only needs to be done > once. This manual step may be required even if your configuration sets > build=true and reload=true. > > http://wiki.apache.org/solr/FileBasedSpellChecker > > 03.12.2013, 21:27, "Mirko

Solr Suggester ranked by boost

2013-12-04 Thread Mirko
{ "id":"3", "suggesttext":["text aa"]}] }, "spellcheck":{ "suggestions":[ "te",{ "numFound":3, "startOffset":0, "endOffset":2, "suggestion":["text aa", "text bb", "text cc"]}]}} The search results are ranked by boost as expected. However, the suggestions are not ranked by boost (but alphabetically instead). I also tried the TSTLookup and FSTLookup lookup implementations with the same result. Any ideas what I'm missing? Thanks, Mirko

Re: Automatically build spellcheck dictionary on replicas

2013-12-03 Thread Mirko
Yes, I have that, but it doesn't help. It seems Solr still needs the query with the "spellcheck.build" parameter to build the spellchecker index. 2013/12/3 Kydryavtsev Andrey > Did you try to add > true > parameter to your slave's spellcheck configuration?

Automatically build spellcheck dictionary on replicas

2013-12-03 Thread Mirko
"spellcheck.build" query on all servers individually. Is there a way to automatically build the spellcheck dictionary on all servers without calling "spellcheck.build" on all slaves individually? We use Solr 4.0.0 Thanks, Mirko

Re: Suggester - how to return exact match?

2013-11-25 Thread Mirko
Thanks! We solved this issue in the front-end now. I.e. we add the exact match to the list of suggestions there. Mirko 2013/11/22 Developer > Might not be a perfect solution but you can use edgengram filter and copy > all > your field data to that field and use it for s

Re: Parse eDisMax queries for keywords

2013-11-25 Thread Mirko
Hi Jack, thanks for your reply. Ok in this case I agree that "enriching" the query in the application layer is a good idea. We are still a bit puzzled how the enriched query should look like. I'll post here when we found a solution. If somebody has suggestions, I'd be happy

Parse eDisMax queries for keywords

2013-11-21 Thread Mirko
our "season" field received tokens instead of the complete query. Or is there another approach to solve this use case with Solr? Thanks, Mirko

Re: Suggester - how to return exact match?

2013-11-21 Thread Mirko
"abc" (because "abc" is not in the dictionary). For me this use case seems quite common. Say, we have three products in our store: "foo", "foo 1", "foo 2". If the user types "foo" in the product search, we want to suggest all our pro

Suggester - how to return exact match?

2013-11-20 Thread Mirko
uot;foo". How can we configure the suggester to return also the perfect match as a suggestion? This is the config for our search component: spellCheck default org.apache.solr.spelling.suggest.Suggester autosuggest.txt Thanks for help! Mirko

Re: problem with schema.xml

2007-06-08 Thread mirko
working. Any other suggestions? Is someone else experiencing the same problem? thanks, mirko Quoting Ryan McKinley <[EMAIL PROTECTED]>: > I don't use tomcat, so I can't be particularly useful. The behavior you > describe does not happen with resin or jetty... > > My gue

problem with schema.xml

2007-06-08 Thread mirko
st attempt. It seems after restart Solr gets stuck in some state and I cannot get it up and running by Tomcat's manager, only by restarting Tomcat. Am I missing something? Thanks, mirko

numFound for facet results

2007-04-30 Thread mirko
asking 6 values and only displaying 5 and if the 6th is non-empty obviously there are more than 5 :) 2. I would like to be able to tell how many facet values are there total. (This would be a value like numFound for the results). Is there such a thing or a workaround like for 1. thanks, mirko

Re: Filter query doesn't always work...

2007-03-27 Thread mirko
/trunk/example/solr/conf/schema.xml mirko Quoting escher2k <[EMAIL PROTECTED]>: > > I have a strange problem, and I don't seem to see any issue with the data. I > am filtering > on a field called reviews_positive_6_mos. The field is declared as an > integer. &

SolrSearchGenerator for Cocoon (2.1)

2007-03-27 Thread mirko
/environment/Request.html I guess you using the getParameterNames and getParameter methods instead should do the trick. Or am I missing something? mirko Quoting Thorsten Scherler <[EMAIL PROTECTED]>: > On Mon, 2007-03-26 at 09:30 -0400, Winona Salesky wrote: > > Thanks Chris, I'

Re: solr + cocoon problem

2007-01-17 Thread mirko
Thanks Thorsten, that really was helpful. Cocoon's url-encode module does solve my problem. mirko Quoting Thorsten Scherler <[EMAIL PROTECTED]>: > On Wed, 2007-01-17 at 10:25 -0500, [EMAIL PROTECTED] wrote: > > Hi, > > > > I agree, this is not a legal UR

Re: solr + cocoon problem

2007-01-17 Thread mirko
Hi, I agree, this is not a legal URL. But the thing is that cocoon itself is sending the unescaped URL. That is why I thought I am not using the right tools from cocoon. mirko Quoting Chris Hostetter <[EMAIL PROTECTED]>: > > : java.io.IOException: Server returned HTTP response c

solr + cocoon problem

2007-01-16 Thread mirko
type="file" > Any ideas on how to implement a cocoon layer above solr? thanks, mirko ps. I realize this question might be more of a cocoon question, but I am posting it here because I have gotten the idea from http://wiki.apache.org/solr/XsltResponseWriter to use cocoon on top

Re: Indexing XML files

2006-12-07 Thread mirko
e principle? thanks, mirko Quoting Chris Hostetter <[EMAIL PROTECTED]>: ... > I think Walters got the right idea ... as a general rule, we want to make > the XmlResponseWriter "bullet proof" so that no matter waht data you put > into your index, it is garunteed to produce

Re: Indexing XML files

2006-12-05 Thread mirko
Hi, the idea is to apply XSLT transformation on the result. But it seems that I would have to apply two transformations in a row, one which unescapes the escaped node and a second which performs the actual transformation... mirko Quoting Yonik Seeley <[EMAIL PROTECTED]>: > On 12/5/0

Re: Indexing XML files

2006-12-05 Thread mirko
You are right, it is escaped. But my question is: (how) can I make it unescaped? mirko Quoting Yonik Seeley <[EMAIL PROTECTED]>: ... > > I bet it is escaped, but your browser has helpfully displayed it as > unescaped. > Try doing CTRL-U in firefox to see the real so

Re: Indexing XML files

2006-12-05 Thread mirko
? thanks, mirko Quoting Chris Hostetter <[EMAIL PROTECTED]>: > > Since XML is the transport for sending data to Solr, you need to make sure > all field values are XML escaped. > > If you wanted to index a plain text "title" and that tile contained an > amper

Indexing XML files

2006-12-05 Thread mirko
). And output the result as an xml (so, simple escaping does not work for me). So far, I had the idea of escaping the xml record and then unescaping it for inner storage and using the analyzer for indexing (which would possible require creating a class like XMLField or such). thanks, mirko