Field not available on Edimax query

2013-07-09 Thread It-forum

Hello to all,

I load solr by data-import.

I add in db_data_config.xml inside the product entity the tag entity as 
follow :


|
|

 
WHERE id_product='${product.id_product}'"
parentDeltaQuery="select id_product as id from 
ps_product where id_product=${product_features.id_product}">



 //main product entity close

shema.xml :
multiValued="true"  />



When I use a comon "select" query I get the field "tag" and his values .

However when i use edimax query with the following details, I'm not able 
to retreive the field "tag". And it seems that it is not taken in match 
score too.


The edimax qf parameters are :
qf=id^1.0 ref^9.0 name^6.0 descriptif^1.0 cat^7.0 brand^5.0 
fphonetic^5.0 tag^7.0 features^3.0

q.alt=*:*


Could you help me to understand why ?

Regards

David


Re: Phrase search without stopwords

2013-07-09 Thread It-forum

Hi

I solve it by copying the field in a string field type.

And query on this field only.

Regards

David

Le 09/07/2013 11:03, Parul Gupta(Knimbus) a écrit :

Hi solr-user!!!
I have an issue
I want to know that is it possible to implement StopwordFilterFactory with
KeywordTokenizer?
example I have multiple title :
1)title:Canadian journal of information and library science
2)title:Canadian information of  science
3)title:Southern  information and library science

what I want is if i search for
q=title:"Canadian information of science"
 OR
q=title:"Canadian information science"

My output should be only title no. 2,i.e "Canadian information of  science".

my schema.xml is:















Then exact search is working but search without stopwords is not working and
if I use WhitespaceTokenizer instead of KeywordTokenizer then search without
stopwords is working but all the 3 title are coming as output.Please reply
ASAP.





--
View this message in context: 
http://lucene.472066.n3.nabble.com/Phrase-search-without-stopwords-tp4076527.html
Sent from the Solr - User mailing list archive at Nabble.com.




Re: Field not available on Edimax query

2013-07-09 Thread It-forum

Any suggestion ?


Le 09/07/2013 12:29, It-forum a écrit :

Hello to all,

I load solr by data-import.

I add in db_data_config.xml inside the product entity the tag entity 
as follow :


|
|

 
WHERE id_product='${product.id_product}'"
parentDeltaQuery="select id_product as id from 
ps_product where id_product=${product_features.id_product}">



 //main product entity close

shema.xml :
multiValued="true"  />



When I use a comon "select" query I get the field "tag" and his values .

However when i use edimax query with the following details, I'm not 
able to retreive the field "tag". And it seems that it is not taken in 
match score too.


The edimax qf parameters are :
qf=id^1.0 ref^9.0 name^6.0 descriptif^1.0 cat^7.0 brand^5.0 
fphonetic^5.0 tag^7.0 features^3.0

q.alt=*:*


Could you help me to understand why ?

Regards

David





Re: Field not available on Edimax query

2013-07-09 Thread It-forum

Hello Alex,

You're right. But I faced a problem regarding solr engine, when I reload 
dataimport configuration and update, the indexation goes wrong. I had to 
reload Solr and restart importation and get the values.


Tx for your help.

David

Le 09/07/2013 17:19, Alexandre Rafalovitch a écrit :

On Tue, Jul 9, 2013 at 6:29 AM, It-forum  wrote:


However when i use edimax query with the following details, I'm not able
to retreive the field "tag". And it seems that it is not taken in match
score too.


You seem to have two problems here. One not matching (use debug flags for
that) and one "not retrieving". But what do you mean by not retrieving? By
default all the fields are returned regardless of the query. So if you are
getting it in one but not in another you might be either getting different
documents without that field populated or you have explicitly mis-defined
which fields to return (with 'fl' parameter).

Regards,
Alex.

Personal website: http://www.outerthoughts.com/
LinkedIn: http://www.linkedin.com/in/alexandrerafalovitch
- Time is the quality of nature that keeps events from happening all at
once. Lately, it doesn't seem to be working.  (Anonymous  - via GTD book)





Sub field indexing

2013-04-08 Thread It-forum

Hello All,

I'd like to be able to index documents containing criteria and values.

In exemple I have a product A this product is compatible with a Product 
B version 1, 5, 6.


My actual schema is like this :
Name
Price
reference
features
text

How can I index values like :

compatible_engine : [productB,ProductZ]
version_compatible : [1,5,6],[45,85,96]

After indexing how to search into ?

Best regards

Eric


Re: Indexed data not searchable

2013-04-08 Thread It-forum

hi

I use dataimporter

the actual entity contain this :







sourceColName="description_short" />


data sample :
Piéce détachée pour Skimmer COFIES
Modèle:Premium-Design-Omega, Zipper5 Piéce détachée pour Régulateur de 
niveau modèle 3150

Modèle:3150 depuis 2003

Ideal result :
"name" => Couvercle SK siglé - HAYWARD
"manufacturer" => "HAYWARD"
"compatibility" =>  ["Skimmer COFIES"] -> ["Premium-Design-Omega", 
"Zipper5"]
["Régulateur de niveau modèle 3150"] 
-> ["3150 depuis 2003"]




Then I wish to ba able to get all result for, all product with HAYWARD 
as Manufacturer. Then retreive the list of All Compatible product, in 
end the list of available model.


Schema.xml contains :
omitNorms="true" multiValued="false"/>


multiValued="true" />
multiValued="true" />
stored="true" multiValued="true" />

where





ignoreCase="true" articles="lang/contractions_fr.txt" />


ignoreCase="true" words="lang/stopwords_fr.txt" format="snowball" 
enablePositionIncrements="true" />
generateWordParts="1" generateNumberParts="1" catenateWords="1" 
catenateNumbers="1" catenateAll="0" splitOnCaseChange="1"/>









positionIncrementGap="100">





ignoreCase="true" articles="lang/contractions_fr.txt" />


ignoreCase="true" words="lang/stopwords_fr.txt" format="snowball" 
enablePositionIncrements="true" />




language="French"/>







I do not see how to organize this specification correctly with solr.

regards

eric

Le 08/04/2013 16:36, Gora Mohanty a écrit :

On 8 April 2013 19:26, Max Bo  wrote:

Thanks for your help:

The URL I'am positng to is: http://localhost:8983/solr/update?commit=true


The XML-Filess I've added contains fields like "author" so I thought they
have to serachable since it it declared as "indexed" in the example schema.

Please include an example of your .xml file and of Solr's
schema.xml. It is difficult to keep guessing in the dark.

Regards,
Gora




Re: Sub field indexing

2013-04-08 Thread It-forum

Thanks Toke,

Seems to be exactly what I try to do.

Regards

Eric

Le 08/04/2013 20:02, Toke Eskildsen a écrit :

It-forum [it-fo...@meseo.fr]:

In exemple I have a product A this product is compatible with a Product
B version 1, 5, 6.
How can I index values like :
compatible_engine : [productB,ProductZ]
version_compatible : [1,5,6],[45,85,96]

Index them as

compatible_engine: productB/1
compatible_engine: productB/5
compatible_engine: productB/6
compatible_engine: productZ/45
compatible_engine: productZ/85
compatible_engine: productZ/96

in a StrField (so that it is not tokenized).


After indexing how to search into ?

compatible_engine:productZ/85 to get all products compatible with productZ, 
version 85
compatible_engine:productZ* to get all products compatible with any version of 
productZ.

- Toke Eskildsen




Solr french search optimisation

2013-05-22 Thread It-forum

Hello to all,

I'm trying to setup solr 4.2 to index and search into french content.

I defined a special fieldtype for french content :

positionIncrementGap="100">


mapping="mapping-ISOLatin1Accent.txt"/>


generateWordParts="1" generateNumberParts="1" catenateWords="1" 
catenateNumbers="1" catenateAll="0" splitOnCaseChange="1"/>


language="French" protected="protwords.txt"/>




mapping="mapping-ISOLatin1Accent.txt"/>


generateWordParts="1" generateNumberParts="1" catenateWords="0" 
catenateNumbers="0" catenateAll="0" splitOnCaseChange="1"/>


language="French" protected="protwords.txt"/>





unfortunately, this field does not behave as I wish.

I'd like to be able to get results from unwell spelled word.

IE : I wish to get the same result typing "Pompe à chaleur" than typing 
"pomppe a chaler"  or with "solère" and "solaire"


I'm do not find the right way to create a fieldtype to reach this aim.

thanks in advance for your help, do not hesitate for more information if 
need.


Regards

David



Re: Solr french search optimisation

2013-05-22 Thread It-forum

Hello again,

Is any one could help me, plase

David

Le 22/05/2013 18:09, It-forum a écrit :

Hello to all,

I'm trying to setup solr 4.2 to index and search into french content.

I defined a special fieldtype for french content :

positionIncrementGap="100">


mapping="mapping-ISOLatin1Accent.txt"/>


generateWordParts="1" generateNumberParts="1" catenateWords="1" 
catenateNumbers="1" catenateAll="0" splitOnCaseChange="1"/>


language="French" protected="protwords.txt"/>




mapping="mapping-ISOLatin1Accent.txt"/>


generateWordParts="1" generateNumberParts="1" catenateWords="0" 
catenateNumbers="0" catenateAll="0" splitOnCaseChange="1"/>


language="French" protected="protwords.txt"/>





unfortunately, this field does not behave as I wish.

I'd like to be able to get results from unwell spelled word.

IE : I wish to get the same result typing "Pompe à chaleur" than 
typing "pomppe a chaler"  or with "solère" and "solaire"


I'm do not find the right way to create a fieldtype to reach this aim.

thanks in advance for your help, do not hesitate for more information 
if need.


Regards

David






Re: Solr french search optimisation

2013-05-23 Thread It-forum

Hello,

Tx Cristian for your details.

I totally agreed with your explanation, this is 2 differents aspect 
which I need to solve.


Could you clarify few more thinks :

- SpellchekComponent and Phonetic, should be use while indexing or only 
while querying ?


- Does spellcheck component return only the right spelling, or is it 
used to search into result?


- If i want to solve Spelling, Phonetic, stemming problem in french 
language. Can I use only one field or should I use several with 
different filters ?


Regards

David


Le 23/05/2013 08:59, Cristian Cascetta a écrit :

Hello,

I think you're confusing three different things:

1) schema and fields definition is for precision/recall: treating
differently a field means different search results and results ranking
2) the "pomppe a chaler" problem is more a spellchecking problem
http://wiki.apache.org/solr/SpellCheckComponent
3) "solère" and "solaire" is a phonetic search problem
http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters#solr.PhoneticFilterFactory

Hope this helps a little,

cristian


2013/5/23 It-forum 


Hello again,

Is any one could help me, pleeeease

David

Le 22/05/2013 18:09, It-forum a écrit :

  Hello to all,

I'm trying to setup solr 4.2 to index and search into french content.

I defined a special fieldtype for french content :

 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 


unfortunately, this field does not behave as I wish.

I'd like to be able to get results from unwell spelled word.

IE : I wish to get the same result typing "Pompe à chaleur" than typing
"pomppe a chaler"  or with "solère" and "solaire"

I'm do not find the right way to create a fieldtype to reach this aim.

thanks in advance for your help, do not hesitate for more information if
need.

Regards

David







Automatic cross linking

2013-05-29 Thread It-forum

Hello,

I'm looking to use Solr for creating cross linking in text.

For exemple : I'll like to be able to request for a text field, an 
article, in my blog. And that Solr use a script/method, request to parse 
the text, find all matching categories term and caps the results.


Do you have any suggestion, documentation, tutorial, source code :), 
that could help me to realise this optimisation.


Regards.

David


Get all values from a field

2013-06-20 Thread It-forum

Hello,

I'm looking to retreive all distinct values of a specific field.

My documents have field like :
id
name
cat
ref
model
brand

I wich to be able to retreive all cat distinct values.

How could I do that with Solr, I'm totally block

Please help

Regards

David