You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by mechravi25 <me...@yahoo.co.in> on 2012/11/09 11:20:25 UTC

Patch Needed for Issue Solr-3790

Hi All,

Im using Solr 3.6.1 version. For the issue given in the following url, there
is no patch file provided

https://issues.apache.org/jira/browse/SOLR-3790

Can you tell me if there is patch file for the same? 

Also, We noticed that the below url had the changes that had to be done to
resolve this issue. In this, only one file "SolrIndexSearcher,java" was
changed by including, 

synchronized(this) above the line 
'if (storedHighlightFieldNames == null) {' inside the 
'public Collection<String> getStoredHighlightFieldNames()' method

http://svn.apache.org/viewvc/lucene/dev/trunk/solr/core/src/java/org/apache/solr/search/SolrIndexSearcher.java?r1=1229401&r2=1231606&diff_format=h

Can anyone confirm me if this is the only change to resolve the same?

Thanks  



--
View this message in context: http://lucene.472066.n3.nabble.com/Patch-Needed-for-Issue-Solr-3790-tp4019256.html
Sent from the Solr - User mailing list archive at Nabble.com.

Re: Patch Needed for Issue Solr-3790

Posted by mechravi25 <me...@yahoo.co.in>.
Hi Koji,

Thank you for your reply..will test for the same.





--
View this message in context: http://lucene.472066.n3.nabble.com/Patch-Needed-for-Issue-Solr-3790-tp4019256p4020651.html
Sent from the Solr - User mailing list archive at Nabble.com.

Re: Patch Needed for Issue Solr-3790

Posted by Koji Sekiguchi <ko...@r.email.ne.jp>.
(12/11/09 19:20), mechravi25 wrote:
> Hi All,
>
> Im using Solr 3.6.1 version. For the issue given in the following url, there
> is no patch file provided
>
> https://issues.apache.org/jira/browse/SOLR-3790
>
> Can you tell me if there is patch file for the same?
>
> Also, We noticed that the below url had the changes that had to be done to
> resolve this issue. In this, only one file "SolrIndexSearcher,java" was
> changed by including,
>
> synchronized(this) above the line
> 'if (storedHighlightFieldNames == null) {' inside the
> 'public Collection<String> getStoredHighlightFieldNames()' method
>
> http://svn.apache.org/viewvc/lucene/dev/trunk/solr/core/src/java/org/apache/solr/search/SolrIndexSearcher.java?r1=1229401&r2=1231606&diff_format=h
>
> Can anyone confirm me if this is the only change to resolve the same?

Yes, it is the only change to resolve the problem, I think.

koji
-- 
http://soleami.com/blog/lucene-4-is-super-convenient-for-developing-nlp-tools.html