I aim doing a search feature with in squiz matrix what i am trying to do is to out put the users search term on to the results page using this:
Please note, is the name of the field that was entered when it was created on the Search
%_query_terms%
This will show the terms the user entered into the search field.
my keyword line is:
%queries_search_query_query_terms%
Can anyone help
Right click on your search asset and go to search fields screen. Note the name of your search field. Lets say it is xyz. You keyword would then be %xyz_query_terms%
OR
You can do this - %globals_get_queries_search_query%.
#Anton Palitsyn was right in their answer. From the Squiz Matrix manuals it says
%_query_terms%: where is the name of the field that was entered when it was created on the Search Fields screen. For example, if you entered the name Keyword, this will be %keyword_query_terms%. This will show the terms the user entered into the search field.
The Search Page Keyword Replacements can be found at http://manuals.matrix.squizsuite.net/search/appendices/keyword-replacements
You should check out http://manuals.matrix.squizsuite.net/search/chapters/search-page as it has all the info you need.
Related
I use Elasticsearch with logs from my app.
I want to use the DevTools in order to get some of the following information:
I have log that represents "the user edited a comment" that contains:
field processId which is a number that represents that the log is for comment edit action
field commentId that represents the comment that is edited
field deviceIdentifier that represents the identifier of the device that the edit is done with
I want to get the number of comments that were edited by more than one device - meaning number of unique commentIds that have document with the appropriate processId and also have another document with the appropriate processId but the deviceIdentifier is different between the documents.
I can't find a way to do it in the DevTools documentation.
How can I do such a thing?
Thanks ahead.
There is an OData lookup field called first_name. I can use the advanced find to search a record. However, I can't search a record through quick find.
enter image description here
enter image description here
Is it possible to change the name of term column in the term panel table?
Example, in the term image in the question:
How to retrieve unique count of a field using Kibana + Elastic Search
As you can see the term panel (which has no title here) has three columns: term, count, action.
I would like to change the word term into something else. Is it possible?
thank you.
Okay, I just went to the source html code file of the term panel and changed it. Too simple..
I want to save search queries from an AJAX autosuggest search textbox. When the user types in a character the search results are immediately shown.
The problem is to decide when a string is considered to be a query. When searching for "Lemon" it's not desirable to log L, Le, Lem, Lemo, Lemon. In this case only Lemon should be saved.
Also, sometimes a misspelled word is also of interest. "Lemmon" would be desirable to save since it would give the website owner valuable feedback about search queries that result in no items, when the user probably was expecting some.
Any ideas?
You cannot programmatically decide, when it is a query, but the user can. You have to take the user-actions and save when he consideres it a real query.
For example:
You display some autosuggest, and the user clicks on it. Now you only save this click as his search query (and maybe what he wrote into the searchbox)
When the user submits the form, you save his query as a "Searchable World" and compare it to your autosuggest list.
You have a Database of useful words, and when he types in one of these, you save this (by a counter?)
You should combine the first 2 Solutions to get a quite intelligent Database, but then you'll get intelligent data!
I have an External List over a products table in our database. I want to be able to build a search form over it via a full text search; in addition to being able to filter down on properties on my initial search.
For example, say I'm looking for DVDs under 10.00 in product DB. I want to be able to have a search box where I enter "DVD OR Movie", but I also want to be able to have a price box where I could enter a max price of 9.99.
My impressions of SP2010 search solutions is that its easy enough to perform a full text search over an EL with Search Services, but at the same time being able to filter down by additional attributes doesn't appear to be possible out of the box. I know with FAST, I can do a full text search; then filter down the results on the result page via each item's properties. However, we're building custom functionality on the results page allowing users to add an item from the search result set to another list; so I can't use Search Services or FAST's results page.
I'm thinking my best bet is CAML; but my readings on the subject lead my to believe CAML doesn't support full text search. I could also try LinqToSharepoint; but that doesn't support full text search either.
Given my circumstances, do I have any other options besides CAML or Linq? Any constructive input is greatly appreciated.
Thanks,
Frank
On solution is to use the FAST FSIS product. This is the full version of FAST. It will require some extra configuration to index the data in the way you want. That version of FAST will allow you to explicitly define your fields.