Skip to content

Develop3.0.1 #3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 41 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
8363293
SOLR-62: revert at commit dd910af5cfb370c7f5012ac61c1fddb4d4e934c2 an…
ryahiaoui Jun 4, 2015
c80363e
SOLR-63: add possiblity to display facet with empty doc
ryahiaoui Jun 5, 2015
ba445a5
SOLR-63: add possiblity to display facet with empty doc
ryahiaoui Jun 5, 2015
ca66dc0
SOLR-64: Remove enctype and charset="ISO-8859-1" from form
elysajouve Jun 16, 2015
188e9cf
SOLR-66: Removal of Autocomplete javascript/css files and JS function…
elysajouve Jun 30, 2015
8e4a245
Global POM upgraded from 3.0 to 3.0.3
elysajouve Jul 1, 2015
edf2f14
add random function
ryahiaoui Aug 25, 2015
91f3e18
SOLR-68: update getDocumentHighLighting to automatically prefix the i…
jonenst Sep 2, 2015
55c4a55
SOLR-69 - Add different solr search app configurations
jonenst Sep 2, 2015
965075a
SOLR-70 : Display results on a map
jonenst Sep 4, 2015
2e2cc96
SOLR-72 - Advertise lutece-search-plugin-solrserver in default proper…
jonenst Sep 7, 2015
7655cc1
SOLR-69 - Document solr search app configurations
jonenst Sep 7, 2015
03bb4b9
[site-release] Update plugin version to 3.0.1 for lutece-search-plugi…
jonenst Sep 9, 2015
59cb905
[maven-release-plugin] prepare release plugin-solr-3.0.1
jonenst Sep 9, 2015
ea8ee15
[manual-release] prepare for next development iteration
jonenst Oct 23, 2015
9b4dbd1
[manual-release] Update plugin version to 3.0.2-SNAPSHOT for plugin-solr
jonenst Oct 23, 2015
5dc8d68
SOLR-69 - Remove duplicate french sentence in english doc
jonenst Oct 23, 2015
40006c4
SOLR-69 - solrSearchApp configurations, add template and AddonBeans
jonenst Oct 23, 2015
d81bad1
SOLR-75 : allow to add Geoloc fields with just lat/lon/address, not G…
jonenst Oct 26, 2015
f5cf7b1
SOLR-69 - fixup, forgot to commit this file
jonenst Oct 26, 2015
a905c46
SOLR-76 - fix Error 500 when the query has an empty fq
jonenst Dec 16, 2015
5733638
[manual-release] Update plugin version to 3.0.2 for lutece-search-plu…
jonenst Jan 8, 2016
b85aab4
[maven-release-plugin] prepare release plugin-solr-3.0.2
jonenst Jan 8, 2016
b91c90a
[maven-release-plugin] prepare for next development iteration
jonenst Jan 8, 2016
4548d26
[manual-release] Update plugin version to 3.0.3-SNAPSHOT for lutece-s…
jonenst Jan 8, 2016
541961a
SOLR-81 : allow to index one or many documents before commit
jonenst Jun 3, 2016
c3e62e3
SOLR-82 : Allow to call SolrIndexerService.write(...) from external code
jonenst Jun 3, 2016
63cf5a9
SOLR-80 : stream logs in indexing admin feature
jonenst Jun 3, 2016
7e676e6
LUTECE-1863 : encode properties in ascii and use \uXXXX instead of la…
jonenst Jun 3, 2016
60f58d4
SOLR-80 : remove invisible bad link
jonenst Jun 3, 2016
1d7b18c
SOLR-80: fix minor visual inconsistencies when deleting the index in …
jonenst Jun 6, 2016
98dc5b5
SOLR-82 : allow to get the base with/without the portal url for exter…
jonenst Jun 13, 2016
8bdbcf1
SOLR-80 : don't keep a reference to the request in other thread, it's…
jonenst Jun 14, 2016
ee804c9
Change parent in pom.xml lutece-global-pom version 3.0.3 to lutece-g…
ryahiaoui Jul 4, 2017
2221e3c
[site-release] Update plugin version to 3.0.3 for lutece-search-plugi…
ryahiaoui Jul 4, 2017
8cc613f
[maven-release-plugin] prepare release lutece-search-plugin-solr-3.0.3
ryahiaoui Jul 4, 2017
0f5005e
[maven-release-plugin] prepare for next development iteration
ryahiaoui Jul 4, 2017
4d04a46
[site-release] Update plugin version to 3.0.4-SNAPSHOT for lutece-sea…
ryahiaoui Jul 4, 2017
6f775c3
SOLR-110 : migration solr 6.5.1
fcoue Jul 3, 2018
738c32d
SOLR-62 : remove old script, the code was reverted in 836329390fb
jonenst Jul 4, 2018
ee127eb
SOLR-110 : migration solr 6.5.1 - query with default field
fcoue Jul 4, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 12 additions & 5 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
<parent>
<artifactId>lutece-global-pom</artifactId>
<groupId>fr.paris.lutece.tools</groupId>
<version>3.0</version>
<version>4.0.3</version>
</parent>

<modelVersion>4.0.0</modelVersion>
<groupId>fr.paris.lutece.plugins</groupId>
<artifactId>plugin-solr</artifactId>
<packaging>lutece-plugin</packaging>
<version>3.0.1-SNAPSHOT</version>
<version>3.0.4-SNAPSHOT</version>
<name>Lutece solr search plugin</name>

<repositories>
Expand All @@ -35,13 +35,19 @@
<dependency>
<groupId>fr.paris.lutece</groupId>
<artifactId>lutece-core</artifactId>
<version>[4.9.9,)</version>
<version>[6.1.0,)</version>
<type>lutece-core</type>
</dependency>
<dependency>
<groupId>org.apache.solr</groupId>
<artifactId>solr-solrj</artifactId>
<version>5.1.0</version>
<version>6.5.1</version>
</dependency>
<dependency>
<groupId>fr.paris.lutece.plugins</groupId>
<artifactId>plugin-leaflet</artifactId>
<version>1.0.0-SNAPSHOT</version>
<type>lutece-plugin</type>
</dependency>
</dependencies>

Expand All @@ -55,6 +61,7 @@
<connection>scm:git:https://github.com/lutece-platform/lutece-search-plugin-solr.git</connection>
<developerConnection>scm:git:https://github.com/lutece-platform/lutece-search-plugin-solr.git</developerConnection>
<url>https://github.com/lutece-platform/lutece-search-plugin-solr.git</url>
</scm>
<tag>HEAD</tag>
</scm>

</project>
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,10 @@ solr.adminFeature.fields.form.type=Type
solr.adminFeature.fields.form.facet=Facet
solr.adminFeature.fields.form.sort=Sort
solr.adminFeature.fields.form.description=Description
solr.adminFeature.fields.form.weight=Weight
solr.adminFeature.fields.form.weight.low=Low
solr.adminFeature.fields.form.weight.normal=Normal
solr.adminFeature.fields.form.weight.high=High
solr.adminFeature.fields.form.actions=Actions
solr.adminFeature.buttonDoDel=Del solr index
solr.adminFeature.operationInProgress=Operation in progress
solr.adminFeature.operationDone=Operation done

#Display solr result
solr.display.result.spellchecker=Try with this :
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,36 +7,34 @@ solr.adminFeature.description=Indexe le contenu dans Solr.

#Admin configuration solr search
solr.adminFeature.configuration.title=Configuration de Solr
solr.adminFeature.configuration.description=Configuration des propri�t�s de recherche du moteur Solr
solr.adminFeature.configuration.description=Configuration des propri\u00e9t\u00e9s de recherche du moteur Solr
solr.adminFeature.configuration.facet.title=Configuration des facettes
solr.adminFeature.configuration.facet.description=Selectionner les facetes utilis�es pour la recherche.
solr.adminFeature.configuration.facet.description=Selectionner les facetes utilis\u00e9es pour la recherche.
solr.adminFeature.configuration.sort.title=Configuration des champs de tri
solr.adminFeature.configuration.sort.description=Selectionner les champs utilis�s pour le tri lors de la recherche.
solr.adminFeature.configuration.sort.description=Selectionner les champs utilis\u00e9s pour le tri lors de la recherche.
solr.adminFeature.configuration.intersection.title=Intersection de Facettes
solr.adminFeature.configuration.intersection.description=Selectionner deux facettes pour obtenir leurs intersections
solr.adminFeature.configuration.intersection.field1=Champ 1
solr.adminFeature.configuration.intersection.field2=Champ 2
solr.adminFeature.configuration.valid=Modification sauvegard
solr.adminFeature.configuration.valid=Modification sauvegard\u00e9

#Admin Solr Fields Management
solr.adminFeature.fields.title=Gestion des champs Solr
solr.adminFeature.fields.description=Permet l'ajout, l'update et la suppression de champs solr utils dans la partie configuration.
solr.adminFeature.fields.description=Permet l'ajout, l'update et la suppression de champs solr utils\u00e9 dans la partie configuration.
solr.adminFeature.fields.display.title=Champs Solr disponible
solr.adminFeature.fields.display.description=Liste des champs Solr disponible pour la configuration des facettes, tri, ect ...
solr.adminFeature.fields.form.create.title=Cr�ation d'un champs
solr.adminFeature.fields.form.update.title=Mise jour d'un champs
solr.adminFeature.fields.form.create.title=Cr\u00e9ation d'un champs
solr.adminFeature.fields.form.update.title=Mise \u00e0 jour d'un champs
solr.adminFeature.fields.form.name=Nom
solr.adminFeature.fields.form.label=Label
solr.adminFeature.fields.form.type=Type
solr.adminFeature.fields.form.facet=Facette
solr.adminFeature.fields.form.sort=Tri
solr.adminFeature.fields.form.description=Description
solr.adminFeature.fields.form.weight.low=Basse
solr.adminFeature.fields.form.weight.normal=Normal
solr.adminFeature.fields.form.weight.high=Haute
solr.adminFeature.fields.form.weight=Pond�ration
solr.adminFeature.fields.form.actions=Actions
solr.adminFeature.buttonDoDel=Effacer l'index
solr.adminFeature.operationInProgress=Op\u00e9ration en cours
solr.adminFeature.operationDone=Op\u00e9ration termin\u00e9e

#Display solr result
solr.display.result.spellchecker=Essayez avec ceci :
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@
package fr.paris.lutece.plugins.search.solr.business;

import org.apache.solr.client.solrj.response.FacetField;
import org.apache.solr.client.solrj.response.SpellCheckResponse;

import java.util.ArrayList;
import java.util.List;
Expand All @@ -61,9 +60,6 @@ public class SolrFacetedResult
/**Commentaire. **/
private Map<String, ArrayList<FacetField>> facetIntersection;

/**spellcheck. **/
private SpellCheckResponse solrSpellCheckResponse;

private int _nCount;

/**
Expand Down Expand Up @@ -143,12 +139,4 @@ public final void setFacetIntersection( Map<String, ArrayList<FacetField>> facet
{
this.facetIntersection = facetIntersection;
}

public SpellCheckResponse getSolrSpellCheckResponse() {
return this.solrSpellCheckResponse;
}

public void setSolrSpellCheckResponse(SpellCheckResponse solrSpellCheckResponse) {
this.solrSpellCheckResponse = solrSpellCheckResponse;
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,141 @@
/*
* Copyright (c) 2002-2015, Mairie de Paris
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright notice
* and the following disclaimer.
*
* 2. Redistributions in binary form must reproduce the above copyright notice
* and the following disclaimer in the documentation and/or other materials
* provided with the distribution.
*
* 3. Neither the name of 'Mairie de Paris' nor 'Lutece' nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*
* License 1.0
*/
package fr.paris.lutece.plugins.search.solr.business;

import java.util.ArrayList;
import java.util.List;

import fr.paris.lutece.plugins.search.solr.service.SolrSearchAppConfService;
import fr.paris.lutece.plugins.search.solr.util.SolrConstants;


/**
*
* SolrSearchAppConf
*
*/
public class SolrSearchAppConf
{
private String _strCode = SolrSearchAppConfService.EMPTY_CODE;
private String _strFilterQuery = SolrConstants.CONSTANT_DEFAULT_FILTER_QUERY;
private String _strTemplate = SolrConstants.CONSTANT_DEFAULT_TEMPLATE;
private boolean _bExtraMappingQuery = SolrConstants.CONSTANT_DEFAULT_EXTRA_MAPPING_QUERY;
private List<String> _listAddonBeanNames = new ArrayList<String>( );

/**
* Returns the code
* @return the code
*/
public String getCode( )
{
return _strCode;
}

/**
* Sets the code
* @param code the code
*/
public void setCode( String code )
{
_strCode = code;
}

/**
* Returns the template
* @return the template
*/
public String getTemplate( )
{
return _strTemplate;
}

/**
* Sets the template
* @param template the template
*/
public void setTemplate( String template )
{
_strTemplate = template;
}

/**
* Returns the filter query
* @return the filter query
*/
public String getFilterQuery( )
{
return _strFilterQuery;
}

/**
* Sets the filter query
* @param filter query the code
*/
public void setFilterQuery( String strFilterQuery )
{
_strFilterQuery = strFilterQuery;
}

/**
* Returns the boolean indicating if we need an extra query for mapping
* @return the boolean indicating if we need an extra query for mapping
*/
public boolean getExtraMappingQuery( )
{
return _bExtraMappingQuery;
}

/**
* Sets the boolean indicating if we need an extra query for mapping
* @param bExtraMappingQuery the boolean indicating if we need an extra query for mapping
*/
public void setExtraMappingQuery( boolean bExtraMappingQuery )
{
_bExtraMappingQuery = bExtraMappingQuery;
}

/**
* @return the AddonBeanNames
*/
public List<String> getAddonBeanNames() {
return _listAddonBeanNames;
}

/**
* @param listAddonBeanNames the AddonBeanNames to set
*/
public void setAddonBeanNames(List<String> listAddonBeanNames) {
this._listAddonBeanNames = listAddonBeanNames;
}
}
Loading