Re: Help with Synonyms

2012-03-02 Thread Koji Sekiguchi
(12/03/03 1:39), Donald Organ wrote: I am trying to get synonyms working correctly, I want to map floor locker tostorage locker currently searching for storage locker produces results were as searching for floor locker does not produce any results. I have the following setup for index t

Re: search.highlight.InvalidTokenOffsetsException in Solr 3.5

2012-03-01 Thread Koji Sekiguchi
(12/03/02 6:05), Ahmet Arslan wrote: I have the same problem. This happens only for some documents in the index. Andrew, can you provide a document string and a query pair? I will try to re-produce the exception. Then we can create a test case that fails. Others can look into it. +1. Please

Re: Solr Highlighting not working with PayloadTermQueries

2012-02-22 Thread Koji Sekiguchi
(12/02/22 7:53), Nitin Arora wrote: Hi, I'm using SOLR and Lucene in my application for search. I'm facing an issue of highlighting using FastVectorHighlighter not working when I use PayloadTermQueries as clauses of a BooleanQuery. After Debugging I found that In DefaultSolrHighlighter.Java, f

Re: Fast Vector Highlighter Working for some records only

2012-02-22 Thread Koji Sekiguchi
i.com/ (12/02/22 21:35), dhaivat wrote: Koji Sekiguchi wrote (12/02/22 11:58), dhaivat wrote: Thanks for reply, But can you please tell me why it's working for some documents and not for other. As Solr 1.4.1 cannot recognize hl.useFastVectorHighlighter flag, Solr just ignore it, but

Re: Fast Vector Highlighter Working for some records only

2012-02-21 Thread Koji Sekiguchi
(12/02/22 11:58), dhaivat wrote: Thanks for reply, But can you please tell me why it's working for some documents and not for other. As Solr 1.4.1 cannot recognize hl.useFastVectorHighlighter flag, Solr just ignore it, but due to hl=true is there, Solr tries to create highlight snippets by usi

Re: Fast Vector Highlighter Working for some records only

2012-02-21 Thread Koji Sekiguchi
(12/02/21 21:22), dhaivat wrote: Hi Koji, Thanks for quick reply, i am using solr 1.4.1 Uh, you cannot use FVH on Solr 1.4.1. FVH is available Solr 3.1 or later. So your hl.useFastVectorHighlighter=true flag is ignored. koji -- Query Log Visualizer for Apache Solr http://soleami.com/

Re: Fast Vector Highlighter Working for some records only

2012-02-21 Thread Koji Sekiguchi
Dhaivat, Can you give us the concrete document that you are trying to search and make a highlight snippet? And what is your Solr version? koji -- Query Log Visualizer for Apache Solr http://soleami.com/ (12/02/21 20:29), dhaivat wrote: Hi I am newbie to Solr and i am using Sorj Client to cre

Re: Highlighting stopwords

2012-02-14 Thread Koji Sekiguchi
(12/02/14 22:25), O. Klein wrote: I have not been able to find any logic in the behavior of hl.q and how it analyses the query. Could you explain how it is supposed to work? Nothing special on hl.q. If you use hl.q, the value of it will be used for highlighting rather than the value of q. There

[commercial] soleami - The Solr Query Log Visualization Tool Launched

2012-02-13 Thread Koji Sekiguchi
We are excited to announce the launch of soleami - a free visualization service for Apache Solr query log. soleami - Visualize the needs of your visitors. http://soleami.com/ Soleami summarizes Solr query logs of past 12 months by search keyword. It is a very useful tool for you to see various in

Re: Highlighting stopwords

2012-02-13 Thread Koji Sekiguchi
I got it fixed now I think. I thought that if you used it like "hl.q=spell Checker" it would use the query analysis of the field that was being highlighted as default. But in my case it needs to be "hl.q=content_hl:(spell Checker)" for it to work. The behavour I got default made no sense whatsoev

Re: Highlighting stopwords

2012-02-11 Thread Koji Sekiguchi
(12/02/11 21:19), O. Klein wrote: Koji Sekiguchi wrote (12/01/24 9:31), O. Klein wrote: Let's say I search for "spellcheck solr" on a website that only contains info about Solr, so "solr" was added to the stopwords.txt. The query that will be parsed then (dismax)

Re: Display of highlighted search result should start with the beginning of the sentence that contains the search string.

2012-02-07 Thread Koji Sekiguchi
It seems a bug to me Can you open a ticket? Thank you Koji Sekiguchi from iPhone On 2012/02/08, at 13:32, Shyam Bhaskaran wrote: > Hi Koji, > > Thanks for the response when I use hl.bs.chars=".!?" and hl.bs.maxScan=200 I > see improvements, below is the highlighted val

Re: Display of highlighted search result should start with the beginning of the sentence that contains the search string.

2012-02-07 Thread Koji Sekiguchi
(12/02/08 1:54), Shyam Bhaskaran wrote: Hi Koji, I have tried using hl.bs.type=SENTENCE and still no improvement. We are storing PDF extracted content in the field which has termVectors enabled. Example the field contains the following data extracted from PDF "User-defined resolution function

Re: Display of highlighted search result should start with the beginning of the sentence that contains the search string.

2012-02-07 Thread Koji Sekiguchi
(12/02/08 0:50), Shyam Bhaskaran wrote: Hi, We are using Solr 4.0 along with FVH and there is an issue we are facing while highlighting. For our requirement we want the highlighted search result should start with the beginning of the sentence and needed help to get this done. As of now this i

Re: Edismax, Filter Query and Highlighting

2012-01-31 Thread Koji Sekiguchi
(12/02/01 4:28), Vadim Kisselmann wrote: Hmm, i don´t know, but i can test it tomorrow at work. i´m not sure about the right syntax with hl.q. (?) but i report :) hl.q can accept same syntax of q, including local params. koji -- http://www.rondhuit.com/en/

Re: Highlighting stopwords

2012-01-24 Thread Koji Sekiguchi
(12/01/24 9:31), O. Klein wrote: Let's say I search for "spellcheck solr" on a website that only contains info about Solr, so "solr" was added to the stopwords.txt. The query that will be parsed then (dismax) will not contain the term "solr". So fragments won't contain highlights of the term "so

Re: Highlighting stopwords

2012-01-23 Thread Koji Sekiguchi
(12/01/23 23:14), O. Klein wrote: Im using trunk and FVH and eventhough I filter stopwords when searching, I would like to highlight stopwords in fragments. Using a different field without the stopwords filter did not have the desired effect. Please provide more info. In particular, how your qu

Re: Replace Patter "," with ""

2012-01-16 Thread Koji Sekiguchi
(12/01/16 19:43), stockii wrote: Why does this not work? OR i dont know where is my error? i only want to replace comma with a blank ... Try t

Re: FastVectorHighlighter wiki corrections

2012-01-15 Thread Koji Sekiguchi
Hi Mike, (12/01/11 16:14), Michael Lissner wrote: - I need help with fragsize. The wiki says to set it to either 0 or a huge number to disable fragmenting. Which is it? It is original Highlighter. - the wiki says that hl.useFastVectorHighlighter is defaulted to false. I read somewhere that

Re: ignoreTikaException value

2012-01-09 Thread Koji Sekiguchi
(12/01/10 6:31), TRAN-NGOC Minh wrote: Last year a patch with an IgnoreTikaexception has been developped. My question is how could I change the IgnoreTikaexception flag value Just setting ignoreTikaException=true request parameter should work when you calling ExtractingRequestHandler. Or you c

Re: Highlight with multi word synonyms

2012-01-09 Thread Koji Sekiguchi
(12/01/09 21:51), O. Klein wrote: Koji, maybe you missed my confirmation due to the hijacking of the thread. I am using Solr 4.0 and after reindexing with LUCENE_33 I got the behaviour for highlighting I want. So yeah, I can confirm this is a bug. Looking forward to a fix :) The fix of the p

Re: charFilter PatternReplaceCharFilterFactory and highlighting

2012-01-03 Thread Koji Sekiguchi
Jul, Maybe you missed "Example of content :" and "My charfilter should clean it like :" in your previous mail? We need them in order to consider your problem. :-> koji -- http://www.rondhuit.com/en/ (12/01/04 2:19), darul wrote: Hello, I wanted to use char filter PatternReplaceCharFilterFac

Re: Facet Ordering

2011-12-28 Thread Koji Sekiguchi
(11/12/29 5:50), Jamie Johnson wrote: I've seen in the solr faceting overview that it is possible to sort either by count or lexicographically, but is there a way to sort so the lowest counts come back first? As far as I know, no. What is your use case? koji -- http://www.rondhuit.com/en/

Re: hl.boundaryScanner and hl.bs.chars

2011-12-28 Thread Koji Sekiguchi
(11/12/28 17:08), Ahmet Arslan wrote: FastVectorHighlighter requires Solr3.1 http://wiki.apache.org/solr/HighlightingParameters#hl.useFastVectorHighlighter Right. In addition, baoundaryScanner requires 3.5. koji -- http://www.rondhuit.com/en/

Re: hl.boundaryScanner and hl.bs.chars

2011-12-27 Thread Koji Sekiguchi
(11/12/28 15:29), meghana wrote: Hi all , i seen hl.boundaryScanner and hl.bs.chars parameters in solr highlighting feature. but i didn't get its meaning exactly , what its use and how can i use it in my search? My need is something like ,i want to set my fragment to start and end from special

Re: feature of FST version of SynonymFilter affects Highlighter

2011-12-26 Thread Koji Sekiguchi
(11/12/26 23:58), Robert Muir wrote: The old one didn't really handle this correctly either. Sorry, I jumped the gun! I should say offsets, not positions! So please ignore what I quoted in javadoc in my previous mail, sorry! Koji, what is the highlighting problem? Can we have a test case? I

feature of FST version of SynonymFilter affects Highlighter

2011-12-26 Thread Koji Sekiguchi
I found that SynonymFilter javadoc says: "Matches single or multi word synonyms in a token stream. This token stream cannot properly handle position increments != 1" I think due to the feature, Highlighter doesn't work properly in some cases: http://www.lucidimagination.com/search/document/c3ed1

Re: Highlight with multi word synonyms

2011-12-24 Thread Koji Sekiguchi
(11/12/24 21:20), O. Klein wrote: Copy pasted following text from lucene mailing list as it describes my problem: " I'm trying to use multi-word synonyms. For example in my synonyms file I have nhl, national hockey league. If I do this index only, a search for nhl returns a correct match, but hi

Re: Solr 3.5 | Highlighting

2011-12-21 Thread Koji Sekiguchi
(11/12/21 22:28), Tanguy Moal wrote: Dear all, I'm try to get highlighting working, and I'm almost done, but that's not perfect yet... Basically my documents have a title and a description. I have two kind of text fields : text : and text_french_light :

Re: Problem with synonyms containing whitespace

2011-12-17 Thread Koji Sekiguchi
SynonymFilterFactory can take tokenizerFactory attribute that is used when reading synonyms file. If you don't specify it, WhitespaceTokenizerFactory will be used. https://builds.apache.org/job/Solr-trunk/javadoc/org/apache/solr/analysis/SynonymFilterFactory.html koji -- Check out "Query Log Vi

Re: Removing whitespace

2011-12-12 Thread Koji Sekiguchi
(11/12/13 6:51), Devon Baumgarten wrote: Hello, I am having trouble finding how to remove/ignore whitespace when indexing. The only answer I have found suggested that it is necessary to write my own tokenizer. Is this true? I want to remove whitespace and special characters from the phrase an

Re: Language Detection in SOLR 3.5

2011-12-08 Thread Koji Sekiguchi
Now when i start my solr it gives an exception : org.apache.solr.common.SolrException: Error loading class 'org.apache.solr.update.processor.LangDetectLanguageIdentifierUpdateProcessorFactory' Caused by: java.lang.ClassNotFoundException: org.apache.solr.update.processor.LangDetectLanguageIdentifi

Re: Solr tf ifd

2011-12-06 Thread Koji Sekiguchi
(11/12/07 3:42), Nejla Karacan wrote: Hello, I need the tf-idf-values from texts and now Im using Apache-Solr. I am a novice and have some Problems. My question is, how can I extract the tf-idf-values? Nejla, You can use TermVectorComponent on your field which is needed to be set termVector

Re: Dealing with dashes with solr.PatternReplaceCharFilterFactory

2011-12-02 Thread Koji Sekiguchi
(11/12/02 4:20), Aaron Wong wrote: Hi all, We're encountering a problem with querying terms with dashes (and other non-alphanumeric characters). For example, we use PatternReplaceCharFilterFactory to replace dashes with blank characters for both index and query, however any terms with dashes in

Re: highlight issue

2011-12-01 Thread Koji Sekiguchi
Suppose my search query is "*Rak*".In my database i have "*Rakesh Chaturvedi *" name. I am getting "*RakRakesh Chaturvedi*" as the response. Same the case with the following names. Search "Dhar" -- highlight "DharDharmesh Darshan" Search "Suda"-- highlight "SudaSudarshan Faakir" Can som

Re: Solr highlighting isn't work!

2011-11-22 Thread Koji Sekiguchi
(11/11/22 22:30), VladislavLysov wrote: Hello!!! I have a trouble with Solr highlighting. I have any document with next fields- "TYPE", "DBID" and others. When i do next request - https://localhost:8443/solr/myCore/afts?wt=standard&q=TYPE: https://localhost:8443/solr/myCore/afts?wt=standard&q=

Re: Different maxAnalyzedChars value in solrconfig.xml

2011-11-16 Thread Koji Sekiguchi
(11/11/16 13:12), Shyam Bhaskaran wrote: Hi, Wanted to know whether we can set different maxAnalyzedChars values in the solrconfig.xml based on different fields. Can someone point if this is possible at all, my requirement needs me to set different values for maxAnalyzedChars parameter based

Re: Can we have lucene regular and fastVectorHiglighter together in solr

2011-11-16 Thread Koji Sekiguchi
(11/11/16 18:58), Shyam Bhaskaran wrote: Hi, Can we use Lucene regular highlighter along with fastVectorHighlighter together in solrconfig.xml (solr) ? -Shyam Yes, you can. See section in solr/example/solr/conf/solrconfig.xml for example. koji -- Check out "Query Log Visualizer" for Apac

Re: I cannot get elevate.xml to work with Apache Solr (1.41)

2011-11-11 Thread Koji Sekiguchi
(11/11/11 23:16), Michael Herchel wrote: Thanks Koji! Using the elevate request handler worked. Is there a way to use the QueryElevationComponent in the default search handler? I added the following: true true to, so the result looked like explicit true

Re: I cannot get elevate.xml to work with Apache Solr (1.41)

2011-11-10 Thread Koji Sekiguchi
(11/11/11 4:15), Michael Herchel wrote: I've searched high and low for this via Google and the Solr wiki page, and cannot find the answer. My problem: --- I'm having trouble getting the elevate.xml working. Here's what it currently looks like: Fro

Re: external file filed not loading on commit with /update handler

2011-10-31 Thread Koji Sekiguchi
(11/11/01 0:56), abhayd wrote: hi I have two questions First on commit, external field file does not get loaded in index === http://localhost:8080/solr/core/update?stream.body=%3Ccommit/%3E&wt=json Also it is not clear if external file can

Re: help needed on solr-uima integration

2011-10-27 Thread Koji Sekiguchi
(11/10/27 9:12), Xue-Feng Yang wrote: Hi, From Solr Info page, I can see my solr-uima core is there, but updateRequestProcessorChain is not there. What is the reason? Because UpdateRequestProcessor(and Chain) is not type of SolrInfoMBean. (As those classes in the page implement SolrInfoMBean

Re: help needed on solr-uima integration

2011-10-24 Thread Koji Sekiguchi
(11/10/24 17:42), Xue-Feng Yang wrote: Hi, Where can I find test code for solr-uima component? You should find them under: solr/contrib/uima/src/test koji -- Check out "Query Log Visualizer" for Apache Solr http://www.rondhuit-demo.com/loganalyzer/loganalyzer.html http://www.rondhuit.com/en/

Re: Facet mappings

2011-09-28 Thread Koji Sekiguchi
(11/09/29 5:38), ntsrikanth wrote: Hi, I got a set of values which needs to be mapped to a facet. For example, I want to map the codes SC, AC to the facet value 'Catering', HB to Half Board AI, IN to All\ inclusive I tried creating the following in the schema file. Use KeywordToken

Re: Snippets and Boundaryscanner in Highlighter

2011-09-23 Thread Koji Sekiguchi
(11/09/23 20:03), O. Klein wrote: The regex fragmenter showed that there was enough content to show multiple snippets. The amount of snippets has no effect on any of the types of breakIterator. Only fragsize has effect. Or is this highlighter not supporting multiple snippets? This highlighter

Re: Snippets and Boundaryscanner in Highlighter

2011-09-22 Thread Koji Sekiguchi
(11/09/23 8:57), O. Klein wrote: The content_text field is filled with text from pdf's. So this is not the problem. Besides the regex fragmenter gives back multiple snippets like expected. This doesn't show that BoundaryScanner has the bug. Highlighter's fragmenter and FVH FragmentsBuilder are

Re: Snippets and Boundaryscanner in Highlighter

2011-09-22 Thread Koji Sekiguchi
(11/09/23 7:59), O. Klein wrote: Thanx for you answer, but you are not using the Boundaryscanner No. Regardless of specifying BoundaryScanner or not, it is used implicitly because BaseFragmentsBuilder always use it (SimpleBoundaryScanner is the default). Try to index a long text and highlight

Re: Snippets and Boundaryscanner in Highlighter

2011-09-22 Thread Koji Sekiguchi
(11/09/22 23:09), O. Klein wrote: Im testing the new Boundaryscanner in the highlighter, but I can't get it to show more then 1 snippet. 2 Bug or am I doing something wrong? I think your content_text is too short to get more than one snippets? Try the following with solr example (I'm using t

Re: solr 1.4 highlighting issue

2011-09-14 Thread Koji Sekiguchi
(11/09/14 15:54), Dmitry Kan wrote: Hello list, Not sure how many of you are still using solr 1.4 in production, but here is an issue with highlighting, that we've noticed: The query is: (drill AND ships) OR rigs Excerpt from the highlighting list: Within the fleet of 27 floatingrigs<

Re: FastVectorHighlighter with wildcard queries

(11/09/09 6:16), Rahul Warawdekar wrote: Hi, I am currently evaluating the FastVectorHighlighter in a Solr search based project and have a couple of questions 1. Is there any specific reason why the FastVectorHighlighter does not provide support for multiterm(wildcard) queries ? 2. What are the

Re: Sentence aware Highlighter

(11/09/05 23:09), O. Klein wrote: Using the regex in the old highlighter I had reasonable sentence aware highlighting, but speed is an issue. So I tried to get this working with the VFH, but this obviously didn't work with the regex. So I am looking for ways to get the same behavior but with imp

Re: Getting MoreLikeThisHandler operational.

(11/09/02 4:00), Herman Kiefus wrote: Thank you very much. Name mlt This is not what I was suggesting. MLT*Handler* is a request handler but not SearchComponent-aware handler. That said, it ignores ... part. If MLTHandler

Re: Getting MoreLikeThisHandler operational.

(11/09/01 23:24), Herman Kiefus wrote: mlt but ends up returning a 500 error on a core reload. What is an appropriate configuration entry for the MLT handler? Why you got 500 error because MLTComponent was set for requestHandler class. Set class="solr.SearchHandler

Re: Solr custom plugins: is it possible to have them persistent?

(11/09/01 1:22), samuele.mattiuzzo wrote: SEVERE: org.apache.solr.common.SolrException: Error Instantiating UpdateRequestProcessorFactory, ToTheGoCustom is not a org.apache.solr.update.processor.UpdateRequestProcessorFactory i'm getting this error, but i don't know how to fix it this is solrcon

Re: Highlight on alternateField

(11/08/26 2:32), Val Minyaylo wrote: Hi there, I am trying to utilize highlighting alternateField and can't get highlights on the results from targeted fields. Is this expected behavior or am I understanding alternateFields wrong? Yes, it is expected behavior. solrconfig.xml: description_hi

Re: Where the heck do you put maxAnalyzedChars?

(11/08/25 5:29), Daniel Skiles wrote: I have a very large field in my index that I need to highlight. Where in the config file do I set the maxAnalyzedChars in order to make this work? Has anyone successfully done this? Placing it in your requestHandler should work. For example: 1000

Re: hl.useFastVectorHighlighter, fragmentsBuilder and HighlightingParameters

(11/08/19 4:14), Alexei Martchenko wrote: Hi Koji thanks for the reply. My is defined directly in. SOLR 3.3 warns me is a deprecated form do you think it is in the wrong place? Hi Alexei, Yes, it is incorrect. What deprecate is that tag just under directly. After 3.1, it needs to be

Re: hl.useFastVectorHighlighter, fragmentsBuilder and HighlightingParameters

Alexei, From the log, I think Solr couldn't find colored fragmentsBuilder defined in solrconfig.xml. Can you check the following setting in ... in solrconfig.xml? koji -- Check out "Query Log Visualizer" http://www.rondhuit-demo.com/loganalyzer/loganalyzer.html http://www.rondhuit.com/en/ (

Re: question about exception in faceting

(11/07/29 8:52), Chris Hostetter wrote: : If I got an exception during faceting (e.g. undefined field), Solr doesn't : return HTTP 400 but 200 with the exception stack trace in : ... tag. Why is it implemented so? I checked Solr 1.1 and saw the same behavior. super historic, pre-apache, code

Re: question about exception in faceting

k out "Query Log Visualizer" http://www.rondhuit-demo.com/loganalyzer/loganalyzer.html http://www.rondhuit.com/en/ (11/07/29 1:18), Koji Sekiguchi wrote: > If I got an exception during faceting (e.g. undefined field), Solr doesn't > return HTTP 400 but 200 with the excepti

question about exception in faceting

If I got an exception during faceting (e.g. undefined field), Solr doesn't return HTTP 400 but 200 with the exception stack trace in ... tag. Why is it implemented so? I checked Solr 1.1 and saw the same behavior. Except FacetComponent, HighlightComponent for example, if I use a bad regex patte

Re: Delete by range query

time:[1296777600+TO+1296778000] Should be time:[1296777600 TO 1296778000] ? koji -- http://www.rondhuit.com/en/

Re: Best practices for Calculationg QPS

(11/07/18 23:35), Siddhesh Shirode wrote: Hi Everyone, I would like to know the best practices or best tools for Calculating QPS in Solr. Thanks. Just an FYI: Admin GUI > STATISTICS > QUERY gives you avgRequestsPerSecond for each request handler. koji -- http://www.rondhuit.com/en/

Re: Readercycle script issue

(11/07/14 13:12), Pawan Darira wrote: Hi my readercycle script is not reloading the searcher. where i may be wrong. please help readercycle is somewhat old or broken and it's been removed at SOLR-2046. I recommend you to use commit script instead: https://issues.apache.org/jira/browse/SOLR-20

Re: moreLikeThis with filter?

(11/07/13 1:40), Elaine Li wrote: Hi Folks, I need to filter out the returns if the document's field activated = false. I tried the following in order to retrieve similar products which are all activated products. But this does not work. http://localhost:8983/solr/mlt?q=(id:2043144 AND activate

Re: Restart Solr

How to restart Solar ? I am using Solr with the windchill 10. I don't know windchill 10, but if you run Solr on Jetty or Tomcat, CTRL+C to shutdown then start Solr again. Or if you use CoreAdmin, RELOAD action might help: http://wiki.apache.org/solr/CoreAdmin#RELOAD koji -- http://www.rondhuit

Re: (Solr-UIMA) Doubt regarding integrating UIMA in to solr - Configuration.

] "POST /apache-solr-3.3.0/update/javabin?wt=javabin&version=2 HTTP/1.1" 400 1262 It is difficult to understand whats going on. Can anyone tell me where I can see a more detailed log? S. On Tue, Jul 12, 2011 at 2:39 AM, Koji Sekiguchi wrote: I don't think you have wrong

Re: (Solr-UIMA) Doubt regarding integrating UIMA in to solr - Configuration.

false text I don't understand where exactly can I see a more detailed log of why its not getting indexed. Sowmya. On Mon, Jul 11, 2011 at 5:26 PM, Koji Sekiguchi wrote: disclaimer: I'm not an expert of UIMA. I've just started usin

Re: (Solr-UIMA) Doubt regarding integrating UIMA in to solr - Configuration.

disclaimer: I'm not an expert of UIMA. I've just started using it when Solr 3.1 integrated UIMA! Thanks for the clarification. Now, I get it. Should section mention all the annotators, even if the annotators do not add any new fields? For example, if I have a pipeline, starting from "parser"

Re: (Solr-UIMA) Doubt regarding integrating UIMA in to solr - Configuration.

method? Sowmya. On Sat, Jul 9, 2011 at 12:51 AM, Koji Sekiguchi wrote: Now I've pasted sample solrconfig.xml to the project top page. Can you visit and look at it again? koji -- http://www.rondhuit.com/en/ (11/07/09 2:29), Sowmya V.B. wrote: Hi Koji Thanks. I have checked out the cod

Re: Details about MLT features

(11/07/11 4:26), Marcus Paradies wrote: Thanks for the helpful hints! The debugQuery didn't work in combination with MLT for me. If I'm using MLT in the distributed mode, how would that work? Let's assume, I'm having 5 shards and I'm executing a MLT query which will run against all shards. How

Re: Can I write to the index from within RequestHandler.handleRequestBody(..)?

(11/07/11 4:45), Gabriele Kahlout wrote: On Sun, Jul 10, 2011 at 6:21 PM, Koji Sekiguchi wrote: There are such RequestHandlers. Look at CSVRequestHandler, for example. IndexWriter writer = new IndexWriter(FSDirectory.open(**new File(req.getCore().getDataDir(**), "

Re: Can I write to the index from within RequestHandler.handleRequestBody(..)?

There are such RequestHandlers. Look at CSVRequestHandler, for example. IndexWriter writer = new IndexWriter(FSDirectory.open(new File(req.getCore().getDataDir(), "index")), req.getSchema().getAnalyzer(), IndexWriter.MaxFieldLength.LIMITED); updateSolrIndex(writer); D

Re: Details about MLT features

(11/07/09 22:55), Marcus Paradies wrote: (1) Is there a way to see the similarity value in the response? Try debugQuery=on with MLT. (2) Can the MLT be used in the distributed search mode? Not yet. There is an open issue https://issues.apache.org/jira/browse/SOLR-788 (3) How can I retriev

Re: (Solr-UIMA) Doubt regarding integrating UIMA in to solr - Configuration.

the same class (next.NamedEntity, in this case)? I am sorry for repeated mails...but its a bit confusing, because there is no README file. Thankyou once again! Sowmya. On Fri, Jul 8, 2011 at 4:07 PM, Koji Sekiguchi wrote: (11/07/08 16:19), Sowmya V.B. wrote: Hi Koji Thanks for the mail. T

Re: (Solr-UIMA) Doubt regarding integrating UIMA in to solr - Configuration.

(11/07/08 16:19), Sowmya V.B. wrote: Hi Koji Thanks for the mail. Thanks for all the clarifications. I am now using the version 3.3.. But, another query that I have about this is: How can I add an annotator that I wrote myself, in to Solr-UIMA? Here is what I did before I moved to Solr: I wrot

Re: can't get moreLikeThis to work

Plus, debugQuery=on would help you when using MLT after 3.1: https://issues.apache.org/jira/browse/SOLR-860 koji -- http://www.rondhuit.com/en/ (11/07/08 6:55), Juan Grande wrote: Hi Elaine, The first thing that comes to my mind is that neither the content nor the term vectors of "text" and "

Re: (Solr-UIMA) Doubt regarding integrating UIMA in to solr - Configuration.

(11/07/07 18:38), Sowmya V.B. wrote: Hi I am trying to add UIMA module in to Solr..and began with the readme file given here. https://svn.apache.org/repos/asf/lucene/dev/tags/lucene_solr_3_1/solr/contrib/uima/README.txt I would recommend you to use Solr 3.3 rather than 3.1, as we have changed

Re: Analyzer creates PhraseQuery

(11/06/28 16:40), lboutros wrote: You could add this filter after the NGram filter to prevent the phrase query creation : http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters#solr.PositionFilterFactory Ludovic. There is an option to avoid producing phrase queries, autoGeneratePhraseQu

Re: rename a core to same name of existing core

quot; created core is initalizing, the "old" one will continue to accept requests. Once it has finished, all new request will go to the "new" core, and the "old" core will be unloaded. */quote* I guess, same handling for other actions, like rename. Regards Stefan 2011/

rename a core to same name of existing core

I accidentally rename a core to the same name of existing core, e.g. using example-DIH: http://localhost:8983/solr/admin/cores?action=RENAME&core=db&other=tika I expected solr throws an exception, but it worked, and the existing core (tika) is gone. Does it a known bug (but I couldn't find open

Re: Extending Solr Highlighter to pull information from external source

(11/06/20 21:41), Jamie Johnson wrote: I am trying to index data where I'm concerned that storing the contents of a specific field will be a bit of a hog so we are planning to retrieve this information as needed for highlighting from an external source. I am looking to extend the default solr hi

Re: why too many open files?

(11/06/20 16:16), Jason, Kim wrote: Hi, Mark I think FileNotFoundException will be worked around by raise the ulimit. I just want to know why segments are created more than mergeFactor. During the googling, I found contents concerning mergeFactor: http://web.archiveorange.com/archive/v/bH0vUQzfY

Re: Encoding of alternate fields in highlighting

(11/06/17 0:15), Massimo Schiavon wrote: I have an index with various fields and I want to highlight query matchings on "title" and "content" fields. These fields could contain html tags so I've configured HtmlFormatter for highlighting. The problem is that if the query doesn't match the text o

Re: Calculating memory consumption FVH

(11/06/12 8:27), Markus Jelsma wrote: Hi, How can i calculate the memory requirements for highlighting documents where the variables are number of documents to highlight and the total size of the documents in a single request? I can then multiply a worst-case result set with the expected concurr

Re: FastVectorHighlighter and hl.fragsize parameter set to zero causes exception

Hi Tom, (11/06/11 2:01), Burton-West, Tom wrote: According to the documentation on the Solr wiki page, setting the hl.fragsize parameter to "0" indicates that the whole field value should be used (no fragmenting). However the FastVectorHighlighter throws an exception message fragCharSize(0

Re: Does MultiTerm highlighting work with the fastVectorHighlighter?

(11/06/10 0:14), Burton-West, Tom wrote: Hi Koji, Thank you for your reply. It is the feature of FVH. FVH supports TermQuery, PhraseQuery, BooleanQuery and DisjunctionMaxQuery and Query constructed by those queries. Sorry, I'm not sure I understand. Are you saying that FVH supports MultiT

Re: Does MultiTerm highlighting work with the fastVectorHighlighter?

(11/06/09 4:24), Burton-West, Tom wrote: We are trying to implement highlighting for wildcard (MultiTerm) queries. This seems to work find with the regular highlighter but when we try to use the fastVectorHighlighter we don't see any results in the highlighting section of the response. Appe

Re: Boosting result on query.

(11/06/08 16:20), Denis Kuzmenok wrote: If you could move to 3.x and your "linked item" boosts could be calculated offline in batch periodically you could use an external file field to store the doc boost. a few If's though I have 3.2 and external file field doesn't work without solr resta

Re: TermFreqVector Problem

TermFreqVector vector = reader.getTermFreqVector(this.docId, "universal"); String universalTerms[] = vector.getTerms(); to see the lenght of universalTerms array, and it is 1 and only value that array stores is the field value: universalTerms[0]= "car house road age s

Re: How to ignore whitespace/ case sensitivity with dedupe

(11/05/29 8:47), tinman wrote: Hi all, I've followed the instructions at this link http://wiki.apache.org/solr/Deduplication and got the basic dedupe field working. However, it doesn't seem to recognize case differences or white space differences even thought I've defined the type of the fields

Re: analyzer type - does it default to "index" or "query"?

(11/05/26 13:23), Andy wrote: Hi, When specifying an analyzer for a fieldType, I can say type="index" or type="query" What if I don't spcify the type for an analyzer? Does it default to "index" or "query" or both? Both. koji -- http://www.rondhuit.com/en/

Re: Solr Highlight Component

(11/05/24 20:56), Lord Khan Han wrote: Hi , Can I limit the terms that the HighlightComponent uses. My query is generally long and I want specific ones to be highlighted and the rest is not highlighted. Is there an option like the SpellCheckComponent. it uses q unless spellcheck.q if specified.

Re: Similarity class for an individual field

(11/05/20 3:45), Brian Lamb wrote: Hi all, Based on advice I received on a previous email thread, I applied patch https://issues.apache.org/jira/browse/SOLR-2338. My goal was to be able to apply a similarity class to certain fields but not all fields. I ran the following commands: $ cd $ svn u

Re: Highlighting issue with Solr 3.1

(11/05/17 3:27), Nemani, Raj wrote: All, I have just installed Solr 3.1 running on Tomcat 7. I am noticing a possible issue with Highlighting. I have a filed in my index called "story". The solr document that I am testing with the data in the story field starts with the following snippet

Re: uima fieldMappings and solr dynamicField

Thanks Tommaso! I'm glad to hear from the person with experience. I'll commit shortly. Koji (11/05/09 17:57), Tommaso Teofili wrote: Thanks Koji for opening that, the dynamicField mapping is a commonly used feature especially for named entities mapping. Tommaso 2011/5/7 Koji Sekigu

Re: uima fieldMappings and solr dynamicField

I've opened https://issues.apache.org/jira/browse/SOLR-2503 . Koji -- http://www.rondhuit.com/en/ (11/05/06 20:15), Koji Sekiguchi wrote: > Hello, > > I'd like to use dynamicField in feature-field mapping of uima update > processor. It doesn't seem to be acceptable

uima fieldMappings and solr dynamicField

Hello, I'd like to use dynamicField in feature-field mapping of uima update processor. It doesn't seem to be acceptable currently. Is it a bad idea in terms of use of uima? If it is not so bad, I'd like to try a patch. Background: Because my uima annotator can generate many types of named entity

Re: solr 3.1 - TikaEntityProcessor

(11/05/01 3:45), firdous_kind86 wrote: Hi all, i have solr 3.1 with DIH running fine, but i m unable to use tikaentityprocessor, i tried with replacing tika-parsers and tika-core jars 0.9 (in contrib/extraction/lib) but still no success, may be i m missing something, could anyone define the exact

Re: Field Length and Highlight

(11/04/27 7:35), Alejandro Delgadillo wrote: Hi, I¹ve been using solr with Coldfusion9, I¹ve made a couple of adjustment to it in order to fulfill my needs of my client, I¹m using solr as a document search engine for a online library which has documents larger then 20MB and some of them have mo

<    1   2   3   4   5   6   >