Im using thinking sphinx and libstemmer (pt-BR).
My problem is:
When I search "banheira" or "banheiras" sphinx gets the same results that matches with
"banheiro"/"banheiros".
Im trying to unlink the words "banheira" and "banheiro" because they are not the same
thing.
I didn't find any solution for this.
Anybody had the same problem?
Thanks!
Regards (:
Copied from: http://sphinxsearch.com/forum/view.html?id=11946
Read the docs on wordforms:
http://sphinxsearch.com/docs/current.html#conf-wordforms
can be used to implement 'stemming exceptions' :)
Related
As I understood from Mongodb documentation of text search.
if i want to search about Java or (coffee shop)
I need to do it like
{$text:{$search:"Java \"coffee shop\""}}
Exact Phrase search in mongodb documentation
so it should return all the documents contain Java or (coffee shop).
but it acts exactly as Java and (coffee shop).
so I think that i didn't get it right from the documentation.
so please.
I need clear explanation for why i got that result?
and
how to get the required output Java or (coffee shop)?
This is a known issue,
and is being tracker in SERVER-30163.
Not Solved yet so please go to SERVER-30163 to up-vote it.
As the question says, how can I list all the measures, folder and subsolder?
By looking on msdn I can't find any way to do thet, this is what I'm able to achieve so far, any help?
SELECT
[CATALOG_NAME] AS SSAS_Database_Name,
[CUBE_NAME] AS Cube_or_Perspective_Name,
[MEASUREGROUP_NAME] AS MeasureGroup_Name,
[MEASURE_NAME] AS Measure_Name,
[MEASURE_Caption] AS Measure_Caption,
[MEASURE_IS_VISIBLE] AS Dimension_Visible,
[MEASURE_AGGREGATOR] AS Measure_Aggregator,
[DEFAULT_FORMAT_STRING] AS [Format_String],
[EXPRESSION] AS Calculated_Measure_Expression
FROM
$SYSTEM.MDSCHEMA_MEASURES
ORDER BY
[MEASURE_NAME]
I solved by using:
MEASURE_DISPLAY_FOLDER
For further reference I managed to find the proper MSDN articole:
MDSCHEMA_MEASURES Rowset
I found org-babel-clean-text-properties in someone's code which is written in 2009. But I can't find any document about it and it is not defined in org-mode 8.3beta.
Anyone knows where can i find document about it or any other function as replacement for it?
thanks.
I found this post, which contains as part of a change log:
(obe-citations): replace non-existent org-babel-clean-text-properties
with org-no-properties
So I guess org-no-properties is the replacement function.
I want to compare two XML documents to find and show where is the difference
like diff utility in XCode.
I can retrieve and parse xml code using NSXMLParser in basic level,
and can tell 'they are not exactly same'
but I don't know how to tell 'where and which'.
Is there any open-source based library for this?
Thanks in advance.
Try following link
XML Documents
also try this
I wonder if there is a way to give a suggestion from the sphinx index.
for instance,
when I search 'sadfasasas' on google, I get 6 results.
and it said.' Do you mean "sasasasas".
when I search by 'sasasasas', I get 289,000 results.
How should I do to implement this feature? (Let's say the two keywords are all right
spelling. and I want to give the suggestion 'sasasasas' just because it's seems like
'sadfasasas', and it can find many results by sphinx ).
There are script, config, readme in sphinx/misc/suggest folder. You could try suggestion service out of the box.